Updated yt-dlp, #build

This commit is contained in:
Simon 2025-08-20 15:49:35 +07:00
commit dc6276803d
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
4 changed files with 14 additions and 4 deletions

View File

@ -8,8 +8,8 @@ djangorestframework==3.16.1
drf-spectacular==0.28.0
Pillow==11.3.0
redis==6.4.0
requests==2.32.4
requests==2.32.5
ryd-client==0.0.6
uvicorn==0.35.0
whitenoise==6.9.0
yt-dlp[default]==2025.8.11
yt-dlp[default]==2025.8.20

View File

@ -50,7 +50,17 @@ server {
root /app/static;
index index.html;
location ~* .(?:css|js)$ {
try_files $uri $uri/ /index.html =404;
}
location = /index.html {
add_header Cache-Control 'no-store';
expires 0;
}
location / {
add_header Cache-Control 'no-store';
try_files $uri $uri/ /index.html =404;
}
}

View File

@ -49,7 +49,7 @@ const APIClient = async <T>(
const data = await response.json();
throw {
status: response.status,
message: data?.message || 'An error occurred while processing the request.',
message: data?.message || data?.error || 'An error occurred while processing the request.',
} as ApiError;
}

View File

@ -1,4 +1,4 @@
-r requirements.txt
-r backend/requirements.txt
ipython==9.4.0
pre-commit==4.3.0
pylint-django==2.6.1