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

Add base URL support #1104

Merged
merged 17 commits into from
Nov 5, 2021
Merged

Add base URL support #1104

merged 17 commits into from
Nov 5, 2021

Conversation

lo5
Copy link
Member

@lo5 lo5 commented Nov 3, 2021

Launch waved with -base-url to set a base URL. Or, launch waved with $H2O_WAVE_BASE_URL set.

Setting base url to /foo/ will allow serving an app with route / at /foo/, or an app with route /bar at /foo/bar/.

Accessing /foo/'s parent(s) from browser/API will 404.

If a base url is set, an app must be launched with $H2O_WAVE_BASE_URL set to the same base url value.

Closes #59

@lo5 lo5 marked this pull request as ready for review November 5, 2021 03:10
@lo5 lo5 merged commit 41a43ba into master Nov 5, 2021
@lo5 lo5 deleted the lo5/59 branch November 5, 2021 03:11
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.

Allow prefixes to URL
2 participants