tuon 1 year ago
parent
commit
d5c66639b3
2 changed files with 3 additions and 3 deletions
  1. 1 1
      docker-compose-dev.yaml
  2. 2 2
      vite.config.ts

+ 1 - 1
docker-compose-dev.yaml

@@ -13,7 +13,7 @@ services:
     restart: always
     container_name: nginx-with-ui
     ports:
-      - 8080:8080
+      - 8081:8080
       - 9090:9090
       - 9080:80
       - 9443:443

+ 2 - 2
vite.config.ts

@@ -43,8 +43,8 @@ export default defineConfig({
   server:{
     proxy: {
       "/api":{
-        // target: 'http://10.10.0.1:8081',
-        target: 'http://127.0.0.1:8080',
+        target: 'http://10.10.0.1:8081',
+        // target: 'http://127.0.0.1:8080',
         rewrite: path => path.replace(/^\/api/,"")
       }
     }