chore(security): remove hardcoded security key

Remove hardcoded security key for flask.
Use environment variable instead.
This commit is contained in:
2025-03-16 15:19:48 +01:00
parent 8590c7a715
commit de8a0ab688
7 changed files with 41 additions and 3 deletions

View File

@@ -14,6 +14,9 @@ build job:
- export PATH=/root/.local/bin:$PATH
- pdm install
# Set environment variables for the tests
- export FLASK_SECRET_KEY=$FLASK_SECRET_KEY
# launch tests
- export PYTHONPATH=.
- export FLASK_APP=app