mirror of
https://github.com/MathiasDPX/grainParisArt.git
synced 2025-01-08 00:06:38 +00:00
Add port and host to env
This commit is contained in:
parent
491454b995
commit
8fc43af477
2 changed files with 4 additions and 2 deletions
|
@ -1 +1,3 @@
|
|||
JAWG_API_KEY="Votre clé d'API jawg.io"
|
||||
JAWG_API_KEY="Votre clé d'API jawg.io"
|
||||
HOST="0.0.0.0"
|
||||
PORT=5000
|
2
app.py
2
app.py
|
@ -114,4 +114,4 @@ def home():
|
|||
JAWG_API_KEY=getenv("JAWG_API_KEY"))
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run()
|
||||
app.run(host=getenv("HOST"), port=getenv("PORT"))
|
Loading…
Reference in a new issue