diff --git a/nuxt.config.js b/nuxt.config.js index 1288de9..2db6e43 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-05-03 22:14:16 * @LastEditors: ch - * @LastEditTime: 2022-05-10 14:18:39 + * @LastEditTime: 2022-05-31 18:58:47 * @Description: file content */ export default { @@ -84,6 +84,7 @@ export default { '/mall/': { // target: 'http://114.55.64.39:3004', // 目标接口域名 target: 'https://you-gateway.mashibing.com/', // 目标接口域名 + target: 'https://k8s-horse-gateway.mashibing.cn/', // 目标接口域名 pathRewrite: { changeOrigin: true, // 表示是否跨域 }, diff --git a/pages/index/index.vue b/pages/index/index.vue index 15ef7d5..1ca706e 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-05-03 22:14:16 * @LastEditors: ch - * @LastEditTime: 2022-05-31 18:41:33 + * @LastEditTime: 2022-06-01 09:36:44 * @Description: file content -->