fix: 🐛 Fix environment name

This commit is contained in:
Louis Gallet 2024-07-01 18:07:18 +02:00
parent c08573b4b3
commit 0c2809eeea
Signed by: lgallet
GPG Key ID: 84D3DF1528A84511

View File

@ -88,7 +88,7 @@ if __name__ == '__main__':
print("Please provide client_id, client_secret and n8n_webhook in the .env file")
exit(1)
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")
else:
app.run(debug=False, port="3000", host="0.0.0.0")