mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 05:28:41 +00:00
Don't trim serialized query part of URL
This commit is contained in:
parent
60cee7fd2f
commit
78b2b5ccc3
@ -38,6 +38,7 @@ function relativeURLFix() {
|
|||||||
// append trailing slash to resource only if there is no file extension
|
// append trailing slash to resource only if there is no file extension
|
||||||
newHref += url.pathname.endsWith('/') ? '' : '/';
|
newHref += url.pathname.endsWith('/') ? '' : '/';
|
||||||
}
|
}
|
||||||
|
newHref += url.search || '';
|
||||||
newHref += url.hash || '';
|
newHref += url.hash || '';
|
||||||
} else {
|
} else {
|
||||||
// leave this URL alone
|
// leave this URL alone
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user