Yansen 1 ano atrás
pai
commit
69be9a2ad5
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1
    1
      .env.production
  2. 1
    1
      vite.config.js

+ 1
- 1
.env.production Ver arquivo

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

+ 1
- 1
vite.config.js Ver arquivo

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