title: How to redirect default url in a flask app
body: <p>I have a flask app running a website, and it works as expected when sent to a page directly, like the url: <a href="http://127.0.0.1:5000/auth/start_page" rel="nofollow noreferrer">http://127.0.0.1:5000/auth/start_page</a>, but when I go to just: <a href="http://127.0.0.1:5000/" rel="nofollow noreferrer">http://127.0.0.1:5000/</a>, I get a URL not found error. I want the url: <a href="http://127.0.0.1:5000/" rel="nofollow noreferrer">http://127.0.0.1:5000/</a> to redirect to the <a href="http://127.0.0.1:5000/auth/start_page" rel="nofollow noreferrer">http://127.0.0.1:5000/auth/start_page</a> page.</p>
  
  <p>I tried just adding something like this to the python:</p>
  
  <pre><code>@bp.route('/')
  def start():
      return redirect(url_for('auth.start_page'))
  </code></pre>
  
  <p>but I'm still getting the page not found error. This is how I redirect all the other URL's so I don't know what the problem is. Anyone know what I'm doing wrong?</p>