diff --git a/src/main.js b/src/main.js index 16e1dd4..9b91f33 100644 --- a/src/main.js +++ b/src/main.js @@ -170,7 +170,12 @@ router.beforeEach((to, from, next) => { } if (!store.state.app.merchant_id) { if (to.path != '/missingPage') { - next({ path: '/missingPage' }) + const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV) + if (!IS_PROD) { + next({ path: '/information', query: { merchant_id: 596 }}) + } else { + next({ path: '/missingPage' }) + } } else { next() }