Browse Source

开发环境

shanbinzhang 17 hours ago
parent
commit
7ae03c877c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .env.development
  2. 1 1
      vite.config.js

+ 1 - 1
.env.development

@@ -1,4 +1,4 @@
-VITE_APP_BASE_URL="/"
+VITE_APP_BASE_URL="/ybreport/"
 VITE_APP_OUTDIR="eta_report_front"
 
 VITE_APP_BASEAPIURL="/api"

+ 1 - 1
vite.config.js

@@ -21,7 +21,7 @@ export default ({mode})=>defineConfig({
     proxy: {
 			'/api': {
 				// target: 'http://8.136.199.33:8608',
-				target: 'http://gnetareport.hzinsights.com',
+				target: 'http://gnetareport.hzinsights.com/ybreport',
 				changeOrigin: true,
         rewrite: (path) => path.replace(/^\/api/, '/api')
 			}