Browse Source

修改回调地址

lxylxy123321 1 week ago
parent
commit
dd621f143a
2 changed files with 4 additions and 4 deletions
  1. 2 2
      backend/app/config.py
  2. 2 2
      docker-compose.yml

+ 2 - 2
backend/app/config.py

@@ -102,8 +102,8 @@ class Settings(BaseSettings):
     sso_base_url: str = "http://192.168.92.61:8200"
     sso_client_id: str = "5bdce571-c092-45ff-a491-44a14a000426"
     sso_client_secret: str = "hmDeOtXZVbeo2AZ-x58yPssZLg4Tcb1W"
-    sso_redirect_uri: str = "http://localhost:3000/auth/callback"
-    sso_frontend_url: str = "http://localhost:3000"
+    sso_redirect_uri: str = "http://183.220.37.46:23423/auth/callback"
+    sso_frontend_url: str = "http://183.220.37.46:23423"
     sso_scope: str = "email"
     sso_logout_redirect_url: str = "http://192.168.92.61:9200/login"
     jwt_secret_key: str = "change-me-in-production-use-a-long-random-string"

+ 2 - 2
docker-compose.yml

@@ -49,8 +49,8 @@ services:
       context: ./frontend
       dockerfile: Dockerfile
       args:
-        VITE_API_BASE_URL: http://localhost:8010/api/v1
-        VITE_WS_BASE_URL: ws://localhost:8010/ws
+        VITE_API_BASE_URL: http://183.220.37.46:8010/api/v1
+        VITE_WS_BASE_URL: ws://183.220.37.46:8010/ws
     container_name: finetune-frontend
     restart: unless-stopped
     ports: