Set separate domain for static files

This commit is contained in:
Danielle McLean 2017-10-23 15:16:23 +11:00
parent 6992678689
commit 541830a5ec
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -7,3 +7,5 @@ DATABASES['default'] = {
'NAME': 'lemoncurry', 'NAME': 'lemoncurry',
'USER': 'lemoncurry', 'USER': 'lemoncurry',
} }
STATIC_URL = 'https://cdn.00dani.me/'
MEDIA_URL = STATIC_URL + 'media/'