Skip to content

Commit

Permalink
added back allow all methods and headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed Sep 24, 2024
1 parent 015051d commit 6183d32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autogpt_platform/backend/backend/server/rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def run_service(self):
"https://dev-builder.agpt.co",
],
allow_credentials=True,
allow_methods=["*"], # Allows all methods
allow_headers=["*"], # Allows all headers
)

# Define the API routes
Expand Down

0 comments on commit 6183d32

Please sign in to comment.