mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-08 14:53:03 +08:00
Fix updating URL when no query params
This commit is contained in:
@@ -199,7 +199,7 @@ THE SOFTWARE.
|
||||
watch: {
|
||||
// When the share link changes, update the site query
|
||||
shareQuery(query) {
|
||||
window.history.replaceState({}, '', query);
|
||||
window.history.replaceState({}, '', query || window.location.pathname);
|
||||
},
|
||||
// Disable symlink if modularized structure is disabled
|
||||
'$props.data.modularizedStructure': {
|
||||
|
Reference in New Issue
Block a user