-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Make Asset Paths Relative #497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Came here to report the same thing when reverse proxying with NGINX to /code |
Paths are relative now. |
Awesome. How do we specify the URL? |
It's relative, so you don't need to specify anything. If code server is available at |
I just wanted to report that this does work, however if not logged in I get redirected away from my /code/ to /login/ which doesn't exist (should be /code/login/) |
Deploying code-server to a nested URL such as
/code
will result in assets being requested from/
, when they should be/code
.The HTML source code references root-level assets:
We should, instead, allow users to specify if they are hosting on a nested URL like
/code
, thus appending the host to the HTML:Reproduction Steps
/code
, or/johhny/codes
code
), but instead, are requested from the root/
URLThe text was updated successfully, but these errors were encountered: