Fix asset path in asset fingeprinter

The asset fingerprinter was hard coded to always point to `/static`.

It needs to change depending on which environment the app is running
in.
This commit is contained in:
Chris Hill-Scott
2018-11-29 13:06:10 +00:00
parent 9541c02309
commit dd711f51b3
3 changed files with 17 additions and 0 deletions

View File

@@ -113,6 +113,7 @@ class Test(Development):
ANTIVIRUS_API_KEY = 'test-antivirus-secret'
ASSET_DOMAIN = 'static.example.com'
ASSET_PATH = 'https://static.example.com/'
class Preview(Config):