Commit 96e66968 authored by ∞'s avatar 💻

Generate absolute path to webpack output

parent c0794d1b
......@@ -124,6 +124,7 @@ A settings file to import boilerplate from.
import os
from pathlib import Path
from crudlfap.conf import install_optional # noqa
......@@ -346,7 +347,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.9/howto/static-files/
STATIC_URL = os.getenv('STATIC_URL', '/static/')
STATIC_ROOT = os.getenv('STATIC_ROOT', 'static')
STATIC_ROOT = os.getenv('STATIC_ROOT', Path(os.path.dirname(__file__)) / 'static')
UWSGI_SPOOLER_MOUNT = os.getenv('UWSGI_SPOOLER_MOUNT')
UWSGI_SPOOLER_NAMES = os.getenv('UWSGI_SPOOLER_NAMES', '').split(',')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment