From 75443904d27e8678155616f02ddcf1b8c3c799d2 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期五, 10 十二月 2021 09:34:38 +0800 Subject: [PATCH] fixed 輸入錯誤的url 1. 顧問登入下直接導到/myAppointmentList/appointmentList 2. 其餘狀況導到首頁 --- PAMapp/nuxt.config.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/PAMapp/nuxt.config.js b/PAMapp/nuxt.config.js index 73f32ed..0822ef0 100644 --- a/PAMapp/nuxt.config.js +++ b/PAMapp/nuxt.config.js @@ -69,6 +69,7 @@ ] }, router: { - base: process.env.ENV === 'uat' ? '/pam/' : '' + base: process.env.ENV === 'uat' ? '/pam/' : '', + middleware: 'errorRouteMiddleware' } } -- Gitblit v1.8.0