mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 16:01:15 -05:00
Check IP address source
This commit is contained in:
@@ -61,6 +61,7 @@ def show_delivery_status():
|
|||||||
def show_check_IP_source():
|
def show_check_IP_source():
|
||||||
return jsonify({'ip': request.headers.getlist("X-Forwarded-For")}), 200
|
return jsonify({'ip': request.headers.getlist("X-Forwarded-For")}), 200
|
||||||
|
|
||||||
|
|
||||||
def get_db_version():
|
def get_db_version():
|
||||||
try:
|
try:
|
||||||
query = 'SELECT version_num FROM alembic_version'
|
query = 'SELECT version_num FROM alembic_version'
|
||||||
|
|||||||
Reference in New Issue
Block a user