mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-26 11:58:33 -04:00
19 lines
438 B
Python
19 lines
438 B
Python
##!/usr/bin/env python
|
|
|
|
from __future__ import print_function
|
|
|
|
from flask import Flask # noqa
|
|
from flask_caching import Cache
|
|
from werkzeug.serving import WSGIRequestHandler # noqa
|
|
|
|
from app import create_app, socketio # noqa
|
|
|
|
WSGIRequestHandler.version_string = lambda self: "SecureServer"
|
|
|
|
application = Flask("app")
|
|
|
|
create_app(application)
|
|
|
|
rest_cache = Cache(config={"CACHE_TYPE": "SimpleCache"})
|
|
rest_cache.init_app(application)
|