diff --git a/src/nginxconfig/templates/global_sections/tools.vue b/src/nginxconfig/templates/global_sections/tools.vue index 92f0ba9..89da12e 100644 --- a/src/nginxconfig/templates/global_sections/tools.vue +++ b/src/nginxconfig/templates/global_sections/tools.vue @@ -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': {