[Server] Add legal pages to existing routes
This commit is contained in:
		
							parent
							
								
									0aeb70daa0
								
							
						
					
					
						commit
						c98211a67f
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user