Skip to content

Commit

Permalink
Fix broken /samples.json handler after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Aug 15, 2017
1 parent 1fe5839 commit cbefcb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ handlers:
script: schedule.app
secure: always

- url: /(features|samples).xml
script: server.app
secure: optional

# Everything else
- url: /.*
script: server.app
Expand Down
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def get(self, path=None):
# Main URL routes.
routes = [
(r'/features(?:_v(\d+))?.json', FeaturesAPIHandler),
('/samples(/.*)?', SamplesHandler),
('/samples(.*)', SamplesHandler),
('/(.*)/([0-9]*)', MainHandler),
('/(.*)', MainHandler),
]
Expand Down

0 comments on commit cbefcb4

Please sign in to comment.