UPDATE/REFACTOR: Rework of UserPage;

FIX: Fallback for profile pictures;
REFACTOR: Removal of unnecessary files & routes;
REFACTOR: Improve documentation for flask routes;
FIX: Correct data to return when fetching vods;
This commit is contained in:
Chris-1010
2025-03-03 11:05:10 +00:00
parent 04d99928aa
commit 45a0f364a0
8 changed files with 138 additions and 255 deletions

View File

@@ -104,7 +104,7 @@ http {
}
## Profile pictures location
location ~ ^/user/(.+)/index.png$ {
location ~ ^/user/(.+)/profile_picture$ {
alias /user_data/$1/index.png;
# where $1 is the user's username