How do I make flask redirect(“abc”) return relative to the url path the app is running on?

Solution
@app.route('/test/login')
def login_form()
     pass # login form