Skip to content
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

Change Theia baseUrl #5862

Closed
fiurthorn opened this issue Aug 5, 2019 · 3 comments

Comments

@fiurthorn
Copy link

commented Aug 5, 2019

Description

How to change the Theia baseUrl from http://localhost:3000/ to http://localhost:3000/theia/

@akosyakov akosyakov added the question label Aug 5, 2019

@akosyakov

This comment has been minimized.

Copy link
Member

commented Aug 5, 2019

Theia is based on express js web server. You will need to google whether it allows to change base url.

@kpge

This comment has been minimized.

Copy link
Contributor

commented Aug 6, 2019

It's hard to change the base url in theia, you should change all the router where app.use / app.get ... appears.
I think you can use proxy to set the base url, such as Nginx

@fiurthorn

This comment has been minimized.

Copy link
Author

commented Aug 6, 2019

Using a Proxy works great, thanks.

@fiurthorn fiurthorn closed this Aug 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.