12 lines
No EOL
285 B
Python
12 lines
No EOL
285 B
Python
from flask import Flask, render_template, request
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.get("/")
|
|
def hello_world():
|
|
return render_template('owned.jinja')
|
|
|
|
@app.get("/boardgame")
|
|
def get_boardgame():
|
|
boardgame_id = request.args.get('id', '')
|
|
return render_template('boardgame.jinja') |