mirror of
https://git.private.coffee/PrivateCoffee/mallarddns.git
synced 2026-04-21 04:56:23 +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
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,3 +4,4 @@ __pycache__/
|
|||
/output
|
||||
db.sqlite3
|
||||
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