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 support for web base not being on the root #865

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

TonyHoyleRps
Copy link
Contributor

Currently the root path is hardcoded to Url.base.origin which is just the domain, and loses any subdirectory references.

This adds the path - it's slightly more fiddly than I'd like because Url.base.path is incosistent.. if there's a directory it ends with a slash, if there isn't it's completely empty rather than '/'.

@timbotimbo
Copy link
Collaborator

Just made builds with and without this fix. Can confirm that it now works in both the root and in a subfolder.

@timbotimbo timbotimbo merged commit 96d3bda into juicycleff:master Nov 5, 2023
@timbotimbo2 timbotimbo2 mentioned this pull request Nov 5, 2023
7 tasks
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