title: Trailing slash triggers 404 in Flask path rule
body: <p>I want to redirect any path under <code>/users</code> to a static app.  The following view should capture these paths and serve the appropriate file (it just prints the path for this example).  This works for <code>/users</code>, <code>/users/604511</code>, and <code>/users/604511/action</code>.  Why does the path <code>/users/</code> cause a 404 error?</p>
  
  <pre><code>@bp.route('/users')
  @bp.route('/users/&lt;path:path&gt;')
  def serve_client_app(path=None):
      return path
  </code></pre>