Add frontend backup upload and list-based restore with validation.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -92,6 +92,7 @@ app = Flask(
|
||||
static_folder=os.path.join(ROOT, "modules", "web", "static"),
|
||||
)
|
||||
app.secret_key = os.getenv("SECRET_KEY", "futures_monitor_default_secret")
|
||||
app.config["MAX_CONTENT_LENGTH"] = int(os.getenv("MAX_BACKUP_UPLOAD_MB", "500")) * 1024 * 1024
|
||||
|
||||
HOST = os.getenv("HOST", "0.0.0.0")
|
||||
PORT = int(os.getenv("PORT", "6600"))
|
||||
|
||||
Reference in New Issue
Block a user