music update
All checks were successful
Build and push container image / build-and-push-image (push) Successful in 4m39s

This commit is contained in:
2026-02-02 01:24:14 +00:00
parent 067f0e189d
commit 9700a5dc7f
5 changed files with 36 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
# Imports
from flask import Blueprint, render_template, request, abort
from flask import Blueprint, render_template, abort
from os import getenv as env
import logging, os, re
@@ -32,7 +32,6 @@ def catch_all(filename):
except Exception as e:
os_path = os.path.join(bp.template_folder, 'pages', filename)[3:]
print(os_path)
if os.path.isdir(os_path):
if not filename.endswith('/'): filename += '/'
return render_template('bases/directory.html', directory=filename, pages=ListFiles(os_path))