Point static urls to the build dir rather than src dir

This commit is contained in:
James Polley 2017-12-03 14:49:37 +11:00
parent 233818c33b
commit bc3edb80d9

View file

@ -111,7 +111,7 @@ MEDIA_ROOT = os.path.join(PACKAGE_ROOT, "site_media", "media")
MEDIA_URL = "/site_media/media/" MEDIA_URL = "/site_media/media/"
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static/build') STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static/build')
STATIC_URL = '/static/src/' STATIC_URL = '/static/build/'
STATICFILES_DIRS = [ STATICFILES_DIRS = [
os.path.join(PROJECT_ROOT, 'static/src'), os.path.join(PROJECT_ROOT, 'static/src'),