liushengqiang 2 years ago
parent
commit
ddad3b1fdc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vite.config.ts

+ 2 - 2
vite.config.ts

@@ -52,8 +52,8 @@ export default defineConfig({
 		port: 3000,
 		proxy: {
 			"^/gym/.*": {
-				target: "https://mstutest.dayaedu.com",
-				// target: "https://online.dayaedu.com",
+				// target: "https://mstutest.dayaedu.com",
+				target: "https://online.dayaedu.com",
 				changeOrigin: true,
 				rewrite: (path) => path.replace(/^\/gym/, ""),
 			},