diff --git a/backend/app/main.py b/backend/app/main.py index 11004de..b706bef 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -29,14 +29,7 @@ bot_thread.start() # CORS middleware app.add_middleware( CORSMiddleware, - allow_origins=[ - "http://localhost:5173", - "http://185.139.70.62:5173", - "http://46.233.242.206:5173", - "http://185.139.70.62", - "http://46.233.242.206", - "http://0.0.0.0", - ], + allow_origins=["*"], allow_credentials=True, allow_methods=["*"], allow_headers=["*"], diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 394ef09..972c4b0 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -12,7 +12,7 @@ export default defineConfig({ server: { proxy: { '/api': { - target: 'http://localhost:8080', + target: 'http://localhost:8000', changeOrigin: true } }