Skip to content

Commit

Permalink
Update STATIC_URL to get it from env (#28)
Browse files Browse the repository at this point in the history
* Working on a landing page.

* Update STATIC_URL to get it from env
  • Loading branch information
Kraust authored May 10, 2024
1 parent 45639ae commit b44c818
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OSCR_django/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.2/howto/static-files/

STATIC_URL = "static/"
STATIC_URL = os.environ.get("STATIC_URL", "static/")

# Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
Expand Down

0 comments on commit b44c818

Please sign in to comment.