Skip to content

Commit

Permalink
Allow to pass STATIC_URL as environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinius committed Jun 12, 2023
1 parent 2d5a789 commit a911e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eoxserver/instance_template/project_name/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"
STATIC_URL = '/{{ project_name }}_static/'
STATIC_URL = os.environ.get('STATIC_URL', '/{{ project_name }}_static/')

# Additional locations of static files
STATICFILES_DIRS = (
Expand Down

0 comments on commit a911e5a

Please sign in to comment.