Skip to content
Discussion options

You must be logged in to vote

Hi,

The Theia Cloud demo application passes /home/project as a startup argument:
https://github.com/eclipse-theia/theia-ide/blob/073927e8ca91a19f65bfd0b71a47f73b04b685a1/browser.Dockerfile#L71

The mount path in the app definition is aligned with this and mounts at /home/project.

When redirecting to the main Theia URL (which is what launchAndRedirect does), e.g. ws.theia-cloud.io/uuid/, Theia will redirect internally to ws.theia-cloud.io/uuid/#/home/project because of the startup args from the Dockerfile.

If you instead open ws.theia-cloud.io/uuid/#/home in the browser directly, that value in the URL (/home) will override the startup argument, and this project will be opened.

So in your la…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@wss29
Comment options

Answer selected by wss29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants