We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62575bc commit 1fe61c4Copy full SHA for 1fe61c4
app.py
@@ -11,7 +11,7 @@
11
csrf = CSRFProtect(app)
12
13
# WEBSITE_HOSTNAME exists only in production environment
14
-if not 'WEBSITE_HOSTNAME' in os.environ:
+if 'WEBSITE_HOSTNAME' not in os.environ:
15
# local development, where we'll use environment variables
16
print("Loading config.development and environment variables from .env file.")
17
app.config.from_object('azureproject.development')
0 commit comments