mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-08-30 18:12:11 +00:00
17 lines
261 B
Python
17 lines
261 B
Python
|
|
||
|
from app import create_app
|
||
|
|
||
|
app = create_app()
|
||
|
|
||
|
|
||
|
@app.shell_context_processor
|
||
|
def make_shell_context():
|
||
|
"""Extend the Flask shell context."""
|
||
|
return {'app': app}
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
with app.app_context():
|
||
|
app.run(host='0.0.0.0')
|
||
|
|