Merge pull request 'fix: 🐛 Fix environment name' (#5) from fix/env-name into main

Reviewed-on: #5
This commit is contained in:
Louis Gallet 2024-07-01 16:08:35 +00:00
commit 184e58e38c

View File

@ -88,7 +88,7 @@ if __name__ == '__main__':
print("Please provide client_id, client_secret and n8n_webhook in the .env file") print("Please provide client_id, client_secret and n8n_webhook in the .env file")
exit(1) exit(1)
app.secret_key = 'super secret key' app.secret_key = 'super secret key'
if os.getenv("enviroment") != "production": if os.getenv("environment") != "production":
app.run(debug=True, port="3000", host="0.0.0.0") app.run(debug=True, port="3000", host="0.0.0.0")
else: else:
app.run(debug=False, port="3000", host="0.0.0.0") app.run(debug=False, port="3000", host="0.0.0.0")