How to redirect root url in Flask

Solution
return redirect(url_for('home'))
return render_template("index.html")