mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 07:21:13 -05:00
add status endpoint to '/'
paas were trying to ascertain if notify was up by looking at '/', for cert renewal. This commit adds the status endpoint to '/', so we're not mistakenly left for our cert to expire
This commit is contained in:
@@ -9,6 +9,7 @@ from app import db, version
|
||||
status = Blueprint('status', __name__)
|
||||
|
||||
|
||||
@status.route('/', methods=['GET'])
|
||||
@status.route('/_status', methods=['GET', 'POST'])
|
||||
def show_status():
|
||||
if request.args.get('simple', None):
|
||||
|
||||
Reference in New Issue
Block a user