Yansen il y a 1 an
Parent
révision
69be9a2ad5
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1
    1
      .env.production
  2. 1
    1
      vite.config.js

+ 1
- 1
.env.production Voir le fichier

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

+ 1
- 1
vite.config.js Voir le fichier

@@ -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",