Skip to content

Commit

Permalink
adds jsoneditor and staic root
Browse files Browse the repository at this point in the history
  • Loading branch information
fpintoppb committed Sep 18, 2024
1 parent 8442ccb commit 658fb8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions surface/surface/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"vulns",
"sca",
"sbomrepo",
"jsoneditor",
]

MIDDLEWARE = [
Expand Down Expand Up @@ -113,6 +114,7 @@

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.1/howto/static-files/
STATIC_ROOT = ENV_VAR("SURF_STATIC_ROOT", default=str(BASE_DIR.parent / "dev" / "static"))

STATIC_URL = "/static/"

Expand Down

0 comments on commit 658fb8d

Please sign in to comment.