Compare commits

...

2 Commits

Author SHA1 Message Date
184e58e38c Merge pull request 'fix: 🐛 Fix environment name' (#5) from fix/env-name into main
Reviewed-on: #5
2024-07-01 16:08:35 +00:00
0c2809eeea
fix: 🐛 Fix environment name 2024-07-01 18:07:18 +02:00

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")