Skip to content

Commit

Permalink
Update .env.example
Browse files Browse the repository at this point in the history
Added STATIC_ROOT=static/ to .env.example file.

This change is necessary to ensure that the static files, such as CSS, load correctly in both logged-in and logged-out states. Previously, the lack of this configuration could lead to missing or broken CSS, affecting the website's usability.
  • Loading branch information
Guanchishan authored Oct 11, 2024
1 parent 13381b9 commit cdbba15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ DEFAULT_LANGUAGE="English"
# Probably only necessary in development.
# PORT=1333

STATIC_ROOT=static/
MEDIA_ROOT=images/

# Database configuration
Expand Down

0 comments on commit cdbba15

Please sign in to comment.