static file changes

This commit is contained in:
dekzter 2025-03-11 19:20:17 -04:00
parent e991211c9b
commit 0433352ee2
2 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ STATIC_ROOT = BASE_DIR / 'static' # Directory where static files will be collec
# Adjust STATICFILES_DIRS to include the paths to the directories that contain your static files.
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'frontend/build/assets'), # React build static files
os.path.join(BASE_DIR, 'frontend/dist'), # React build static files
]

View file

@ -7,8 +7,8 @@ server {
uwsgi_pass unix:/app/uwsgi.sock;
}
location /static/ {
root /app; # Base directory for static files
location /assets/ {
root /app/static; # Base directory for static files
}
# admin disabled when not in dev mode