Skip to content
Snippets Groups Projects
Commit 79f58b99 authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Add public dir to STATICFILES_DIRS so robots.txt and favicon.ico are added to the static dir.

parent c126ba39
No related branches found
No related tags found
No related merge requests found
...@@ -271,6 +271,7 @@ STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' ...@@ -271,6 +271,7 @@ STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
STATICFILES_DIRS = [ STATICFILES_DIRS = [
os.path.join(PROJECT_DIR, 'static_compiled'), os.path.join(PROJECT_DIR, 'static_compiled'),
os.path.join(PROJECT_DIR, '../public'),
] ]
STATIC_ROOT = env.get('STATIC_DIR', os.path.join(BASE_DIR, 'static')) STATIC_ROOT = env.get('STATIC_DIR', os.path.join(BASE_DIR, 'static'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment