login logo

This commit is contained in:
DigiServer Developer
2025-11-17 22:32:37 +02:00
parent c16383ed75
commit 6d44542765
9 changed files with 514 additions and 34 deletions

View File

@@ -18,7 +18,7 @@ class Config:
# File Upload - use absolute paths
MAX_CONTENT_LENGTH = 2048 * 1024 * 1024 # 2GB
_basedir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
_basedir = os.path.abspath(os.path.dirname(__file__))
UPLOAD_FOLDER = os.path.join(_basedir, 'static', 'uploads')
UPLOAD_FOLDERLOGO = os.path.join(_basedir, 'static', 'resurse')
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif', 'bmp', 'mp4', 'avi', 'mkv', 'mov', 'webm', 'pdf', 'ppt', 'pptx'}