mirror of
https://github.com/Llloooggg/Dyxless.git
synced 2026-03-06 10:46:24 +03:00
init
This commit is contained in:
15
dyxless/main.py
Normal file
15
dyxless/main.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from flask import Blueprint, render_template
|
||||
from flask_login import login_required
|
||||
|
||||
main = Blueprint("main", __name__)
|
||||
|
||||
|
||||
@main.route("/")
|
||||
def index():
|
||||
return render_template("index.html")
|
||||
|
||||
|
||||
@main.route("/profile")
|
||||
@login_required
|
||||
def profile():
|
||||
return render_template("profile.html")
|
||||
Reference in New Issue
Block a user