Skip to content

Commit

Permalink
Reorder disabled handlers.
Browse files Browse the repository at this point in the history
  • Loading branch information
timburks committed Mar 12, 2018
1 parent a1f65ed commit 5c61462
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions python/main.py
Expand Up @@ -21,6 +21,7 @@ def main():
('/api/radars/ids', openradar.api.RadarsIDs),
('/api/radars/numbers', openradar.api.RadarsNumbers),
('/api/radars/recent', openradar.api.RadarsRecent),
#DISABLED ('/api/secret', openradar.api.Secret),
('/api/search', openradar.api.Search),
('/api/test', openradar.api.Test),
('/api/test_auth', openradar.api.TestAuthentication),
Expand All @@ -29,6 +30,7 @@ def main():
('/comment/remove', openradar.web.CommentsAJAXRemove),
('/comments', openradar.web.CommentsRecent),
('/faq', openradar.web.FAQ),
#DISABLED ('/fixnumber', openradar.web.RadarFixNumber),
('/hello', openradar.web.Hello),
('/loginurl', openradar.web.Login),
('/myradars', openradar.web.RadarList),
Expand All @@ -40,11 +42,8 @@ def main():
('/radarsby', openradar.web.RadarsByUser),
('/rdar', openradar.web.RadarViewByIdOrNumber),
('/refresh', openradar.web.Refresh),
#DISABLED ('/reput', openradar.web.RePut),
('/search', openradar.web.Search),
# intentionally disabled
# ('/api/secret', openradar.api.Secret),
# ('/reput', openradar.web.RePut),
# ('/fixnumber', openradar.web.RadarFixNumber),
('.*', openradar.web.NotFound)
], debug=True)
wsgiref.handlers.CGIHandler().run(application)
Expand Down

0 comments on commit 5c61462

Please sign in to comment.