[Answer]-Have yaml redirect "/hello/" to "/hello"

1👍

You can put in a regexp to match your url.
I’m not certain I can get the right regexp off the top of my head, I think it would be:

- url: /1keyboard/?

0👍

If you would like a trailing slash to always be added you can use a RedirectRoute from webapp2 with strict_slash=True, as described here: http://webapp-improved.appspot.com/api/webapp2_extras/routes.html#webapp2_extras.routes.RedirectRoute1

Instead of adding this to your app.yaml file you would include this where you defined the other routes and linked them to handlers.

Leave a comment