Yansen 1 year ago
parent
commit
69be9a2ad5
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      .env.production
  2. 1
    1
      vite.config.js

+ 1
- 1
.env.production View File

@@ -1 +1 @@
1
-VITE_SERVER_BASE=
1
+VITE_SERVER_BASE=http://api.wmcj.ycjcjy.com

+ 1
- 1
vite.config.js View File

@@ -4,7 +4,7 @@ import react from "@vitejs/plugin-react";
4 4
 
5 5
 // https://vitejs.dev/config/
6 6
 export default defineConfig({
7
-  base: "",
7
+  base: "/admin/",
8 8
   server: {
9 9
     port: 3001,
10 10
     host: "0.0.0.0",