mirror of
https://github.com/viq/NewsBlur.git
synced 2025-04-13 09:38:09 +00:00
Adding haproxy check.
This commit is contained in:
parent
54322439f2
commit
b90f02dba7
2 changed files with 4 additions and 1 deletions
|
@ -62,4 +62,6 @@ def ios_ipa(request):
|
|||
|
||||
logging.user(request, "~SK~FR~BBDownloading NewsBlur.ipa...")
|
||||
return HttpResponse(manifest, content_type='application/octet-stream')
|
||||
|
||||
|
||||
def haproxy_check(request):
|
||||
return HttpResponse("OK")
|
||||
|
|
1
urls.py
1
urls.py
|
@ -27,6 +27,7 @@ urlpatterns = patterns('',
|
|||
(r'^m/', include('apps.mobile.urls')),
|
||||
(r'^push/', include('apps.push.urls')),
|
||||
(r'^categories/', include('apps.categories.urls')),
|
||||
(r'^_haproxychk', static_views.haproxy_check),
|
||||
url(r'^about/?', static_views.about, name='about'),
|
||||
url(r'^faq/?', static_views.faq, name='faq'),
|
||||
url(r'^api/?', static_views.api, name='api'),
|
||||
|
|
Loading…
Add table
Reference in a new issue