Base WEB UI structure
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
from flask import *
|
||||
|
||||
ui = Flask(__name__)
|
||||
|
||||
@ui.route("/")
|
||||
@ui.route("/index")
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
|
||||
@ui.route("/chats")
|
||||
def chats():
|
||||
return "<h1>Страница чатов</h1>"
|
||||
|
||||
Reference in New Issue
Block a user