mirror of
https://git.private.coffee/PrivateCoffee/mallarddns.git
synced 2026-04-20 20:46:27 +05:30
feat: Make static dir configurable
This commit is contained in:
parent
4e5a5c4b1b
commit
36efc3290e
2 changed files with 3 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -3,4 +3,5 @@ __pycache__/
|
|||
/venv
|
||||
/output
|
||||
db.sqlite3
|
||||
config.yaml
|
||||
config.yaml
|
||||
/static
|
||||
|
|
@ -123,6 +123,7 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/5.2/howto/static-files/
|
||||
|
||||
STATIC_URL = "static/"
|
||||
STATIC_ROOT = os.environ.get("MALLARDDNS_STATIC_ROOT", "static")
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue