mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
static file changes
This commit is contained in:
parent
e991211c9b
commit
0433352ee2
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue