mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 05:54:26 +01:00
Allowed all for CORS added autogpt to the arena
This commit is contained in:
6
arena/autogpt.json
Normal file
6
arena/autogpt.json
Normal file
@@ -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"
|
||||
}
|
||||
@@ -64,12 +64,7 @@ class AgentProtocolServer:
|
||||
|
||||
# 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
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user