Bake constants in boot.sh script instead of .env

This commit is contained in:
Patrick Jentsch 2020-10-28 09:16:58 +01:00
parent 1c9bd3c0fc
commit 6757123078
2 changed files with 1 additions and 7 deletions

View File

@ -173,10 +173,3 @@ NOPAQUE_CONTACT_EMAIL_ADRESS=
# DEFAULT: 0
# Number of values to trust for X-Forwarded-Proto
# NOPAQUE_NUM_PROXIES_X_PROTO=
################################################################################
# Constants #
# DO NOT CHANGE ANYTHING BELOW #
################################################################################
FLASK_APP=nopaque.py

View File

@ -1,5 +1,6 @@
#!/bin/bash
source venv/bin/activate
export FLASK_APP=nopaque.py
if [[ "$#" -eq 0 ]]; then
while true; do
flask deploy