mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
IP restriction for inbound sms test 2
This commit is contained in:
@@ -57,11 +57,6 @@ def show_delivery_status():
|
||||
db_version=get_db_version()), 200
|
||||
|
||||
|
||||
@status.route('/_check_IP_source')
|
||||
def show_check_IP_source():
|
||||
return jsonify({'ip': request.headers.getlist("X-Forwarded-For")}), 200
|
||||
|
||||
|
||||
def get_db_version():
|
||||
try:
|
||||
query = 'SELECT version_num FROM alembic_version'
|
||||
|
||||
Reference in New Issue
Block a user