Allow CORS on any URL
This commit is contained in:
parent
1c67b96895
commit
28a49774a9
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ def uri(suffix, api_version, base=None):
|
|||
app = Flask(__name__)
|
||||
app.url_map.strict_slashes = False
|
||||
|
||||
CORS(app, resources=r"/api/*")
|
||||
CORS(app, resources=r"*")
|
||||
|
||||
# Make errors more API friendly
|
||||
handler = JSONExceptionHandler(app)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue