mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-11 20:17:48 +08:00
Always use absolute url for query params (#185)
This commit is contained in:
committed by
GitHub
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': {
|
||||||
|
Reference in New Issue
Block a user