From bea38be7b96fadf367cd4aa6bd9496bfb768c01f Mon Sep 17 00:00:00 2001 From: manusdlai Date: Sun, 16 Feb 2025 17:58:30 +0530 Subject: [PATCH] update --- client/src/api/agentsAPI.ts | 2 +- server/api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/api/agentsAPI.ts b/client/src/api/agentsAPI.ts index b046e7b..42728c8 100644 --- a/client/src/api/agentsAPI.ts +++ b/client/src/api/agentsAPI.ts @@ -1,4 +1,4 @@ -const BASE_URL = "https://b804o8s04cwkg80skgcwsw04.dev3vds1.link/api"; // Your Flask API base URL +const BASE_URL = "https://l4kwko8c04s0skgo4gcks8ck.dev3vds1.link//api"; // Your Flask API base URL // const BASE_URL = "http://localhost:8080/api"; // Function to get all agents diff --git a/server/api.py b/server/api.py index 93cab3e..4e1825c 100644 --- a/server/api.py +++ b/server/api.py @@ -39,7 +39,7 @@ app.config['MAX_CONTENT_LENGTH'] = 20 * 1024 * 1024 # 20 MB # Configure CORS for frontend origin CORS(app, resources={r"/api/*": { - "origins": ["https://g0c0848ggco0cgw4gss8gws0.dev3vds1.link", "http://localhost:5173","*"], + "origins": ["https://g0c0848ggco0cgw4gss8gws0.dev3vds1.link", "http://localhost:5173","https://goo0wsoskgg4w8sswsc80c0w.dev3vds1.link","*"], "methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"], "allow_headers": ["Content-Type"] }})