Skip to content

Commit

Permalink
fix: star
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudambro committed Jul 31, 2023
1 parent 03986a1 commit d90e01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ecosante/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def create_app(testing=False):

if app.config['ENV'] == "production" or app.config['ENV'] == "dev":
cors.init_app(app, resources={r"/*": {
"origins": re.compile(r"^https://([a-z0-9-]+\.)?fabrique\.social\.gouv\.fr$")
"origins": re.compile(r"^https://([a-z0-9-]+\.)*fabrique\.social\.gouv\.fr$")
}})
else:
cors.init_app(app)
Expand Down

0 comments on commit d90e01e

Please sign in to comment.