first heavy refactor

This commit is contained in:
Xevion
2019-10-03 22:16:04 -05:00
parent 72639cff6f
commit 2c2439d140
5 changed files with 123 additions and 131 deletions

22
app/ftbhot.py Normal file
View File

@@ -0,0 +1,22 @@
from app import app
import flask
@app.route('/ftbhot/about')
@app.route('/ftbhot/about/')
def ftbhot_about():
return flask.render_template('/ftbhot/about.html')
@app.route('/ftbhot/auth')
@app.route('/ftbhot/auth/')
def ftbhot_auth():
return 'WIP'
@app.route('/ftbhot')
@app.route('/ftbhot/')
def ftbhot():
return flask.render_template('/ftbhot/embed.html')
@app.route('/ftbhot/json')
@app.route('/ftbhot/json/')
def ftbhot_embed():
return flask.render_template('/ftbhot/current.json')