chore(security): remove hardcoded security key
Remove hardcoded security key for flask. Use environment variable instead.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user