Fix bug in middleware
This commit is contained in:
parent
ce91071993
commit
42ce4f8953
@ -4,5 +4,5 @@ from django.utils.deprecation import MiddlewareMixin
|
||||
|
||||
class AWSELBHealthCheckMiddleware(MiddlewareMixin):
|
||||
def process_request(self, request):
|
||||
if request.META("PATH_INFO") == '/hostcheck/':
|
||||
if request.META["PATH_INFO"] == '/hostcheck/':
|
||||
return HttpResponse("It's Alive!")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user