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
-VITE_SERVER_BASE=
1
+VITE_SERVER_BASE=http://api.wmcj.ycjcjy.com

+ 1
- 1
vite.config.js View File

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