Im using the quart_openapi.cors function called crossdomain for cors.
when i response for example:
return jsonify(uuid=response_json['id']), 201
im getting the following error:
Access to XMLHttpRequest at '{my.domain}' from origin 'http://localhost:3000' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values ', ', but only one is allowed.
and if response a status code > 400, i have no cors issues.
this is a example of my code:
from quart_openapi import Resource
from quart_openapi.cors import crossdomain
from quart import jsonify, request
Im using the quart_openapi.cors function called crossdomain for cors.
when i response for example:
im getting the following error:
and if response a status code > 400, i have no cors issues.
this is a example of my code: