add welcome page and README.md
This commit is contained in:
@@ -12,7 +12,7 @@ bp = Blueprint("main", __name__)
|
||||
def index():
|
||||
if current_user.is_authenticated:
|
||||
return redirect(url_for("main.dashboard"))
|
||||
return redirect(url_for("auth.login"))
|
||||
return render_template("welcome.html")
|
||||
|
||||
|
||||
@bp.get("/dashboard")
|
||||
|
||||
Reference in New Issue
Block a user