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",