Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix CORS issue (#5232)

merwanehamadi991e816ea211
diff --git a/benchmark/agbenchmark/app.py b/benchmark/agbenchmark/app.py
index 0a4b839e0c..8bc526133a 100644
--- a/benchmark/agbenchmark/app.py
+++ b/benchmark/agbenchmark/app.py
@@ -35,7 +35,11 @@ updates_list = []
import json
-origins = ["http://localhost:8080"]
+origins = [
+ "http://localhost:8080",
+ "http://127.0.0.1:5000",
+ "http://localhost:5000",
+]
app = FastAPI()
app.add_middleware(
CORSMiddleware,