Skip to content

Commit d2cb551

Browse files
add PATCH to allow methods
1 parent e0e245f commit d2cb551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethancedwards_api/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def main():
2424
def after_request(response):
2525
response.headers.add('Access-Control-Allow-Origin', '*')
2626
response.headers.add('Access-Control-Allow-Headers', 'Content-Type,Authorization')
27-
response.headers.add('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE')
27+
response.headers.add('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,PATCH')
2828
return response
2929

3030
# quote resources being added

0 commit comments

Comments
 (0)