Skip to content

Commit

Permalink
Make static URL consistent
Browse files Browse the repository at this point in the history
Use `STATIC_URL` instead of `BOOKTYPE_URL/static/`.
  • Loading branch information
soroushj committed May 11, 2019
1 parent 21f9e3e commit 1773423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/booktypecontrol/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def save_settings(self, request):

config.set_configuration(
'BOOKTYPE_SITE_FAVICON',
'{}/static/{}'.format(settings.BOOKTYPE_URL, rand_name)
'{}{}'.format(settings.STATIC_URL, rand_name)
)

# delete prev icon to avoid garbage
Expand Down

0 comments on commit 1773423

Please sign in to comment.