|
|
|
@ -107,7 +107,7 @@ def inject_language(): |
|
|
|
|
@laberflask.after_request |
|
|
|
|
def after_request(response): |
|
|
|
|
response.headers.add('Access-Control-Allow-Origin', '*') |
|
|
|
|
response.headers.add('Access-Control-Allow-Headers', 'Content-Type,Authorization') |
|
|
|
|
response.headers.add('Access-Control-Allow-Methods', 'GET,POST,,OPTIONS') |
|
|
|
|
response.headers.add('Access-Control-Allow-Headers', 'Content-Type') |
|
|
|
|
response.headers.add('Access-Control-Allow-Methods', 'GET,POST,OPTIONS') |
|
|
|
|
response.headers.add('Access-Control-Allow-Credentials', 'true') |
|
|
|
|
return response |
|
|
|
|