mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-08 10:09:00 -06:00
first heavy refactor
This commit is contained in:
22
app/ftbhot.py
Normal file
22
app/ftbhot.py
Normal 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')
|
||||
Reference in New Issue
Block a user