mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-03 00:51:13 -04:00
16 lines
317 B
Python
16 lines
317 B
Python
from flask import Blueprint
|
|
from app.main.authentication.auth import requires_auth
|
|
|
|
AUTHORIZATION_HEADER = 'Authorization'
|
|
AUTHORIZATION_SCHEME = 'Bearer'
|
|
WINDOW = 1
|
|
|
|
main = Blueprint('main', __name__)
|
|
|
|
|
|
main.before_request(requires_auth)
|
|
|
|
|
|
from app.main.views import notifications, index
|
|
from app.main import errors
|