Correction de l'ajout de CORS

This commit is contained in:
Colin Maudry
2026-05-05 15:32:27 +02:00
parent 1447a9fcaf
commit 62eb4d98f0
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -3,7 +3,8 @@ from flask_cors import CORS
from src.app import app
# To use `gunicorn run:server` (prod)
server = CORS(app.server)
server = app.server
CORS(server)
# To use `python run.py` (dev)
if __name__ == "__main__":