[Server] Add legal pages to existing routes

This commit is contained in:
AudricV 2023-01-02 19:14:09 +01:00 committed by SIMAILA Djalim
parent 78766ca728
commit 6d960222cc

View File

@ -9,6 +9,18 @@ routes_ui = flask.Blueprint("ui", __name__)
def index():
return flask.render_template("index.html")
@routes_ui.route("/privacy")
def privacy():
return flask.render_template("privacy.html")
@routes_ui.route("/licenses")
def licenses():
return flask.render_template("licenses.html")
@routes_ui.route("/legal")
def legal():
return flask.render_template("legal.html")
@routes_ui.route("/lobby/<game_id>")
def lobby(game_id):
# rendered by the javascript client-side