From 6fb005a3498a1cda2dce95dcf2208a783a23ee72 Mon Sep 17 00:00:00 2001 From: 18300102974 Date: Tue, 14 Mar 2023 08:42:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0Cookie=E4=BE=9D=E8=B3=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontEnd/nuxt.config.js | 6 ++++-- FrontEnd/package.json | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/FrontEnd/nuxt.config.js b/FrontEnd/nuxt.config.js index fd89a5a..6367d5a 100644 --- a/FrontEnd/nuxt.config.js +++ b/FrontEnd/nuxt.config.js @@ -95,6 +95,7 @@ export default { { src: "~/plugins/vue-scroll-to" }, { src: "~/plugins/photoswipe", mode: "client", ssr: false }, { src: "~/plugins/plugins-print", mode: "client", ssr: false }, + // {src: "~/plugins/storeCache", ssr: false }, // { src: '@/plugins/router', ssr: false} // 先僅用路由前獲取OrgID ], @@ -118,6 +119,7 @@ export default { "@nuxtjs/auth-next", "@nuxtjs/robots", "nuxt-route-meta", + "cookie-universal-nuxt", ["vue-scrollto/nuxt", { duration: 300 }], ], @@ -130,8 +132,8 @@ export default { }, proxy: { '/trending': { - target: 'http://www.origtek.com:3002',// 服務地址 - // target: 'http://localhost:3466',// 服務地址 + // target: 'http://www.origtek.com:3002',// 服務地址 + target: 'http://localhost:3466',// 服務地址 pathRewrite: { '^/trending': '/' }, diff --git a/FrontEnd/package.json b/FrontEnd/package.json index 89f9d4f..c938c0e 100644 --- a/FrontEnd/package.json +++ b/FrontEnd/package.json @@ -16,6 +16,7 @@ "@nuxtjs/vuetify": "^1.12.3", "@vue/composition-api": "^1.7.1", "ant-design-vue": "^1.7.8", + "cookie-universal-nuxt": "^2.2.2", "core-js": "^3.19.3", "cross-env": "^7.0.3", "element-ui": "^2.15.10",