Skip to content

Relative URL handling seems to be different from browser #3031

Discussion options

You must be logged in to vote

Nevermind, the reason is actually described in the mozilla docs for url handling in browsers

https://developer.mozilla.org/en-US/docs/Web/API/URL_API/Resolving_relative_references#current_directory_relative

The issue results because we didn't call /demo/, but instead /demo. The latter results in the base directory being identical to root, because /demo is treated like a file, while we need to call /demo/ so the base directory is demo

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Falco-Boehnke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant