mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-24 22:47:26 +00:00
I didn't break anything, what are you talking about...?
This commit is contained in:
parent
9cda62cef7
commit
bc6bbdfaa7
2
wsgi.py
2
wsgi.py
@ -8,7 +8,7 @@ def make_shell_context():
|
|||||||
"""Extend the Flask shell context."""
|
"""Extend the Flask shell context."""
|
||||||
return {'app': app}
|
return {'app': app}
|
||||||
|
|
||||||
running_directly = __name__ == "__main__"
|
running_directly = __name__ == "wsgi" or __name__ == "__main__"
|
||||||
running_under_gunicorn = not running_directly and 'gunicorn' in __name__ and 'linux' in platform
|
running_under_gunicorn = not running_directly and 'gunicorn' in __name__ and 'linux' in platform
|
||||||
|
|
||||||
# Configure development running
|
# Configure development running
|
||||||
|
Loading…
Reference in New Issue
Block a user