rename static template file folder to static and update middleware to not show access in logging

This commit is contained in:
2025-10-25 13:54:06 +02:00
parent 180fd1c071
commit 0ff61a9e81
27 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import redis.asyncio as aioredis
from quart import Quart
import os
app = Quart(__name__, template_folder="../../templates/side", static_folder="../../templates/files")
app = Quart(__name__, template_folder="../../templates/side", static_folder="../../templates/static")
app.config['MAX_CONTENT_LENGTH'] = 1024 * 1024 * 1024
app.secret_key = SECRET_KEY
+1 -1
View File
@@ -17,7 +17,7 @@ async def custom_middleware():
# Skip allowed IPs or non-critical assets
if (
"favicon" in path
or "files" in path
or "static" in path
):
return

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 174 KiB

Before

Width:  |  Height:  |  Size: 511 KiB

After

Width:  |  Height:  |  Size: 511 KiB

Before

Width:  |  Height:  |  Size: 266 KiB

After

Width:  |  Height:  |  Size: 266 KiB

Before

Width:  |  Height:  |  Size: 969 KiB

After

Width:  |  Height:  |  Size: 969 KiB

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB