Changing the theia web path #13464
-
Hey there, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
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 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. |
Beta Was this translation helpful? Give feedback.
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.