[Flask] CORS issue

Menno Holscher mennoholscher at gmail.com
Wed Nov 11 07:08:47 EST 2020


Op 09-11-2020 om 23:38 schreef Larry Martell:
> I have a flask app that is deployed on many AWS hosts. All of them
> work, except for 1, which gets this error:
> 
> Access to XMLHttpRequest at 'https://apidse-foo.com/group/1011/arrays'
> from origin 'https://dse-foo.com' has been blocked by CORS policy: No
> 'Access-Control-Allow-Origin' header is present on the requested
> resource.

Isn't it just that apidse-foo.com is not a subdomain of dse-foo.com? I 
would expect api.dse-foo.com.

Menno Hölscher




More information about the Flask mailing list