Skip to content

Commit

Permalink
Merge pull request #155 from Ilhasoft/hotfix/slash_url
Browse files Browse the repository at this point in the history
Added regex allow with or without slash
  • Loading branch information
johncordeiro authored Oct 31, 2019
2 parents 0ae8d5d + 8bcacf6 commit 62e8877
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bothub-nlp-api/bothub_nlp_api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
def make_app():
return Application([
url('/', ParseHandler),
url('/parse/', ParseHandler),
url('/train/', TrainHandler),
url('/info/', InfoHandler),
url('/evaluate/', EvaluateHandler)
url(r'/parse/?', ParseHandler),
url(r'/train/?', TrainHandler),
url(r'/info/?', InfoHandler),
url(r'/evaluate/?', EvaluateHandler)
])


Expand Down

0 comments on commit 62e8877

Please sign in to comment.