mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 09:21:54 +02:00
debugging on health check view
This commit is contained in:
parent
80ca25339d
commit
f05f0c76a8
1 changed files with 3 additions and 0 deletions
|
@ -1,10 +1,13 @@
|
|||
import logging
|
||||
from django.http import HttpResponse
|
||||
|
||||
from login_required import login_not_required
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# the health check endpoint needs to be globally available so that the
|
||||
# PaaS orchestrator can make sure the app has come up properly
|
||||
@login_not_required
|
||||
def health(request):
|
||||
logger.debug("in health check view")
|
||||
return HttpResponse('<html lang="en"><head><title>OK - Get.gov</title></head><body>OK</body>')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue