17 lines
377 B
Python
17 lines
377 B
Python
from flask import Flask, render_template
|
|
|
|
from controller.listenbrainz import listenbrainz_bp
|
|
from controller.steam import steam_bp
|
|
|
|
app = Flask(__name__)
|
|
app.register_blueprint(listenbrainz_bp)
|
|
app.register_blueprint(steam_bp)
|
|
|
|
@app.route("/")
|
|
def index():
|
|
return render_template('main.html')
|
|
|
|
@app.route("/author")
|
|
def author():
|
|
return render_template('author.html')
|