diff --git a/frontend/src/main.js b/frontend/src/main.js index 32a15103e..3cbbc15fe 100755 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -53,7 +53,7 @@ router.beforeEach((to, from, next) => { const publisherId = to.query.pid if (publisherId) { store.commit('publisherId', publisherId) - to.query.pid = undefined + delete to.query.pid } if (to.meta.requiresAuth && !store.state.token) { next({ path: '/login' })