Skip to content

Commit

Permalink
Allowed all for CORS added autogpt to the arena
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed Nov 15, 2023
1 parent fa357dd commit 0719780
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 6 additions & 0 deletions arena/autogpt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"github_repo_url": "https://github.com/Significant-Gravitas/AutoGPT",
"timestamp": "2023-11-15T07:22:09.723393",
"commit_hash_to_benchmark": "fa357dd13928baa4d1e30054bc75edc5d68b08f1",
"branch_to_benchmark": "master"
}
7 changes: 1 addition & 6 deletions autogpts/autogpt/autogpt/app/agent_protocol_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,7 @@ async def start(self, port: int = 8000, router: APIRouter = base_router):

# Add CORS middleware
origins = [
"http://localhost:5000",
"http://127.0.0.1:5000",
"http://localhost:8000",
"http://127.0.0.1:8000",
"http://localhost:8080",
"http://127.0.0.1:8080",
"*",
# Add any other origins you want to whitelist
]

Expand Down

0 comments on commit 0719780

Please sign in to comment.