0

I'm running VS Code Server in a docker container via CapRover (which uses code server package from Coder). For editing code it works great, but when I debug the app (I tried Astro and Svelte), the index page loads, but all other links are broken. The index loads with a URL that looks like this: https://vscode.mydomain.com/proxy/3000/ so links URL's like https://vscode.mydomain.com/blog give a 404. If I manually enter https://vscode.mydomain.com/proxy/3000/blog, the page loads. Is there a way to configure Code to not include the /proxy/3000?

mack
  • 2,715
  • 8
  • 40
  • 68
  • what? so it only works when you add `proxy/3000`, but you're asking how to make VS Code _not_ include that? – starball Apr 10 '23 at 17:04
  • When I run the dev server to test the application I want to be able to test from `https://vscode.mydomain.com/blog` instead of `https://vscode.mydomain.com/proxy/3000/blog`. – mack Apr 11 '23 at 18:38

0 Answers0