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

fix: append base to links #502

Merged
merged 2 commits into from Feb 22, 2022
Merged

fix: append base to links #502

merged 2 commits into from Feb 22, 2022

Conversation

brc-dd
Copy link
Member

@brc-dd brc-dd commented Jan 20, 2022

fixes #252

As mentioned at #252 (comment), relative links are still working. If you guys want to keep it that way only and map /foo to scheme://path/foo instead of scheme://path/base/foo then the current external URL testing needs to be changed as /foo may not point to valid internal link if base is set (ref: #458). If this is merged, then #458 can be closed as won't fix, i.e. scheme://path is required if linking to any external link (incl. links outside the base).

@yyx990803 yyx990803 merged commit 804954c into vuejs:main Feb 22, 2022
@brc-dd brc-dd deleted the patch-6 branch February 22, 2022 03:37
@ST-DDT
Copy link

ST-DDT commented Feb 25, 2022

Could you change this to default to ''?

804954c#diff-332834eb76757b8e31926e411cef34f7207564d0bf5fd00a185b41d97b3403bfR53

This change broke on of our scripts (compile-time only).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Base paths (and links) not generating correctly for nested pages.
3 participants