Skip to content
Snippets Groups Projects
Unverified Commit c97e5e82 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #540 from OpenTechFund/feature/add-public-to-staticfiles_dirs

Add public dir to STATICFILES_DIRS so robots.txt and favicon.ico are …
parents 7a1863c1 79f58b99
No related branches found
No related tags found
No related merge requests found
......@@ -271,6 +271,7 @@ STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
STATICFILES_DIRS = [
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'))
......
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