Added static backend

This commit is contained in:
2026-02-23 13:33:21 +00:00
parent a162ba6841
commit 52db1c3d9b
3 changed files with 42 additions and 0 deletions

15
backend.py Normal file
View File

@ -0,0 +1,15 @@
"""
Imports all required blueprints and initalises the app.
Runs in debug mode if ran directly.
"""
import flask
from static import staticBP
app = flask.Flask(__name__, static_folder='./www/')
app.register_blueprint(staticBP)
if __name__ == '__main__':
print('Running in debug mode')
app.run(debug=True)