chengqian 5 hónapja
szülő
commit
fb4c8104fb
2 módosított fájl, 6 hozzáadás és 11 törlés
  1. 6 6
      web/.env.production
  2. 0 5
      web/src/router/index.js

+ 6 - 6
web/.env.production

@@ -1,7 +1,7 @@
-ENV = 'production'
+VITE_CLI_PORT = 8889
+VITE_SERVER_PORT = 443
+VITE_BASE_API = /smart_intersectionV2.0_api
+VITE_FILE_API = /smart_intersectionV2.0_api
+
+VITE_BASE_PATH = https://118.253.180.18
 
-#下方为上线需要用到的程序代理前缀,一般用于nginx代理转发
-VITE_BASE_API = /api
-VITE_FILE_API = /api
-#下方修改为你的线上ip(如果需要在线使用表单构建工具时使用,其余情况无需使用以下环境变量)
-VITE_BASE_PATH = https://demo.gin-vue-admin.com

+ 0 - 5
web/src/router/index.js

@@ -4,11 +4,6 @@ const routes = [{
   path: '/',
   redirect: '/login'
 },
-{
-  path: '/init',
-  name: 'Init',
-  component: () => import('@/view/init/index.vue')
-},
 {
   path: '/login',
   name: 'Login',