-
Notifications
You must be signed in to change notification settings - Fork 474
Add ability to host on subdirectory #90
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
@jeanp413 @filiptronicek Does new server support it? If not I don't think we can do anything here. One should fork and change baseUrl in workbench.html and workbench.ts as far as I understand it. |
We are in the process of migrating from code-server and also ran into this issue. We've gotten it mostly running now, only things missing are service worker calls and syntax highlighting as far as I can tell. Will open a PR once we have it in a decent state, which should be later this week or early next week. |
Just to clarify we are not going to accept changes to the server, since it was open-sourced by MS: https://www.gitpod.io/blog/vscode-server It would be the best if you open a PR in the upstream: https://github.com/microsoft/vscode |
I'm going to close it for now. I think it is the upstream issue. |
Would be great if you manage to get it working inside a subfolder. I'm also very interested in hosting the server in an other path than root 😀 . |
I would like to be able to host VS Code on a subdir on my domain (e.g. my-domain.com/vscode/), but a lot of scripts and the websocket connections default to the subdir-less host and often drop the correct referer, making it hard to serve VSCode on a subdirectory with nginx.
The text was updated successfully, but these errors were encountered: