mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 17:59:45 -04:00
Merge pull request #2546 from alphagov/make-whitenoise-audible
Make Whitenoise serve static assets
This commit is contained in:
@@ -12,4 +12,4 @@ STATIC_URL = 'static/'
|
||||
app = Flask('app')
|
||||
|
||||
create_app(app)
|
||||
application = WhiteNoise(app, STATIC_ROOT, STATIC_URL)
|
||||
app.wsgi_app = WhiteNoise(app.wsgi_app, STATIC_ROOT, STATIC_URL, max_age=WhiteNoise.FOREVER)
|
||||
|
||||
Reference in New Issue
Block a user