Always use absolute url for query params (#185)

pull/189/head
Matt (IPv4) Cowley 2020-10-21 16:58:08 +01:00 committed by GitHub
parent ec86d8819b
commit b48162a3e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ THE SOFTWARE.
watch: {
// When the share link changes, update the site query
shareQuery(query) {
window.history.replaceState({}, '', query || window.location.pathname);
window.history.replaceState({}, '', `${window.location.pathname}${query || ''}`);
},
// Disable symlink if modularized structure is disabled
'$props.data.modularizedStructure': {