Fix for CORS.

pull/684/head
Louis Vézina 5 years ago
parent 6cf1bd5b9d
commit 184b4504d7

@ -146,6 +146,7 @@ def post_get(name, default=''):
@hook('before_request')
def enable_cors():
if response:
response.headers['Access-Control-Allow-Origin'] = '*'

Loading…
Cancel
Save