Some more stuff sort of working, started slideshow stuff

This commit is contained in:
Bradley committed 2025-11-09 21:28:10 -05:00
1 parent d332aca22e
commit 91a973dde2
9 files changed
+175 -2

No files matched your search

+3
View File
@@ -1,6 +1,7 @@
from flask import Flask
from blueprints.home.home import home_bp
from blueprints.upload_photo.upload_photo import upload_photo_bp
from blueprints.configure_stream.configure_stream import configure_stream_bp
import os
import json
@@ -11,9 +12,11 @@ if not os.path.exists(config_json["upload_location"]):
os.makedirs(config_json["upload_location"])
app = Flask(__name__)
app.config["MAX_CONTENT_LENGTH"] = 3 * (1024 ** 3)
app.config["config"] = config_json
app.register_blueprint(home_bp)
app.register_blueprint(upload_photo_bp)
app.register_blueprint(configure_stream_bp)
if __name__ == '__main__':
app.run(debug=True, host="0.0.0.0", port=2025)