Files
notifications-admin/application.py
Chris Hill-Scott 23d00aacfd Remove WhiteNoise
We’re now serving assets from S3 when running on PaaS. So we’ll set
the appropriate caching headers there or in Cloudfront. This means that
the app no longer needs to serve cache headers, which is what we were
using WhiteNoise for.

This commits removes WhiteNoise in favour of letting Flask handle the
serving of static assets.
2018-12-21 10:44:20 +00:00

7 lines
104 B
Python

from flask import Flask
from app import create_app
application = Flask('app')
create_app(application)