Always use absolute url for query params (#185)

This commit is contained in:
Matt (IPv4) Cowley
2020-10-21 16:58:08 +01:00
committed by GitHub
parent ec86d8819b
commit b48162a3e2

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': {