mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 09:50:08 -04:00
Add before_request to check header
This commit is contained in:
@@ -186,6 +186,8 @@ def init_csrf(application):
|
||||
|
||||
def init_app(application):
|
||||
|
||||
application.before_request(request_helper.check_proxy_header_before_request)
|
||||
|
||||
@application.before_request
|
||||
def record_start_time():
|
||||
g.start = monotonic()
|
||||
|
||||
Reference in New Issue
Block a user