-
Notifications
You must be signed in to change notification settings - Fork 11
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 --server-prefix for catalog-create to deploy catalog not in the root of the website #443
Comments
@yarikoptic I was thinking about this again, was there a specific reason why having relative URLs wouldn't be sufficient and why something like a base url would be specifically necessary? I've started working on this locally and made all URLs relative, and ended up with the same error that we stopped at previously. So there seems to be an issue with all-relative URLs, but I still need to figure out what exactly. |
I think it was the fact that whenever you go to some |
Ok so redirection is the cause. |
The use of the If I change the root so that the app is served from e.g. |
why it is not so adding that |
@yarikoptic #478 should address the issues we had with relative/absolute locations of assets. Here, one wouldn't need to pass a flag specifying the server prefix to |
After migration to https://router.vuejs.org/guide/essentials/history-mode.html some changes required to have
/assets
and/artwork
to be placed at/
since while navigating into "/sub/folders" in the new mode it would also append those if they were relative. For datalad-registry we need to deploy catalog under some/catalog/
prefix or alike, so then we cannot serve them from the/
.The text was updated successfully, but these errors were encountered: