Skip to content

Commit

Permalink
fix: allow cors with falcon 4 (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
iFergal authored Oct 28, 2024
1 parent 5f9d6d6 commit 7369471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keria/core/httping.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def process_request(self, req, resp):
resp.set_header('Access-Control-Allow-Headers', '*')
resp.set_header('Access-Control-Max-Age', 1728000) # 20 days
if req.method == 'OPTIONS':
raise HTTPStatus(falcon.HTTP_200, body='\n')
raise HTTPStatus(falcon.HTTP_200)


def getRequiredParam(body, name):
Expand Down

0 comments on commit 7369471

Please sign in to comment.