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

chore: use relative paths in html #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zekfad
Copy link

@Zekfad Zekfad commented Jul 17, 2021

this will allow to use reverse proxies with different base path
e.g. use nginx and serve laplace from domain.tld/laplace/

this will allow to use reverse proxies with different base path
e.g. use nginx and serve laplace from domain.tld/laplace/
@AlmightyFrog
Copy link

@adamyordan is there any plan to work on this feature?

@Zekfad I tried to build from your fork, static assets are loading fine but websocket is trying to connect to wss://myhost/ws_serve instead of wss://myhost/laplace/ws_serve which would be correct. Does it work on your side?

@Zekfad
Copy link
Author

Zekfad commented Jan 4, 2022

@adamyordan, I don't remember if I tested that properly: try to build from this branch: https://github.com/Zekfad/laplace/tree/base-path-fix
If that works, I'll add patch to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants