Skip to content

Changing the theia web path #13464

Answered by msujew
UltraBlackLinux asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @UltraBlackLinux,

you would usually solve this using some sort of reverse proxy. Both the subdomain and path version work similarly in the sense that they forward to some localhost:<port> address on the container that is used to run Theia. See also theia-cloud.

Note that I would recommend using subdomains (assuming you allow users to install vscode extensions via the registry view) as otherwise all webviews become security hazards - each vscode extension could potentially read the localStorage/cookie storage of other extensions.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@UltraBlackLinux
Comment options

@yuhorun
Comment options

@UltraBlackLinux
Comment options

@yuhorun
Comment options

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