Always use absolute url for query params (#185)
parent
ec86d8819b
commit
b48162a3e2
|
@ -200,7 +200,7 @@ THE SOFTWARE.
|
||||||
watch: {
|
watch: {
|
||||||
// When the share link changes, update the site query
|
// When the share link changes, update the site query
|
||||||
shareQuery(query) {
|
shareQuery(query) {
|
||||||
window.history.replaceState({}, '', query || window.location.pathname);
|
window.history.replaceState({}, '', `${window.location.pathname}${query || ''}`);
|
||||||
},
|
},
|
||||||
// Disable symlink if modularized structure is disabled
|
// Disable symlink if modularized structure is disabled
|
||||||
'$props.data.modularizedStructure': {
|
'$props.data.modularizedStructure': {
|
||||||
|
|
Loading…
Reference in New Issue