Skip to content

Commit a911e5a

Browse files
committed
Allow to pass STATIC_URL as environment variable
1 parent 2d5a789 commit a911e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eoxserver/instance_template/project_name/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130

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

135135
# Additional locations of static files
136136
STATICFILES_DIRS = (

0 commit comments

Comments
 (0)