Stories by Yann Eves on Medium · Jun 26, 2023
SvelteKit on GitHub Codespaces Port Forwarding returns 502 Bad Gateway
0Sign in to vote or save
This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
When trying to boot a SvelteKit project inside GitHub Codespaces your app may fail silently and show a 502 Bad Gateway error when opening in the browser. The issue is that Vite does not listen on all addresses by default , it needs to be configured to do so. You can fix this with a temporary workaround each time or a permanent configuration change in your project. Temporary workaround: When…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.