format, move /upload

This commit is contained in:
deneb 2025-03-13 22:47:42 +01:00
parent 9e8aa40c96
commit 148d4333e4

8
app.py
View file

@ -198,6 +198,11 @@ def filemgr(path=""):
return render_template("filemanager.html", files=files, path=path)
@app.route("/upload")
def upload():
return render_template("upload.html")
@app.route("/api/start", methods=["POST"])
async def api_start():
if mpv_running():
@ -341,9 +346,6 @@ async def api_volume():
return jsonify(volume)
@app.route("/upload")
def upload():
return render_template("upload.html")
@app.route("/api/upload", methods=["POST"])
def upload_api():