1
0
Fork 0
mirror of https://github.com/ProjectSynthoria/SynthoriaArchive.git synced 2025-03-12 23:36:54 +02:00
SynthoriaArchive/nyaa/views/site.py

24 lines
462 B
Python
Raw Normal View History

import flask
bp = flask.Blueprint('site', __name__)
# @bp.route('/about', methods=['GET'])
# def about():
# return flask.render_template('about.html')
@bp.route('/rules', methods=['GET'])
def rules():
return flask.render_template('rules.html')
@bp.route('/help', methods=['GET'])
def help():
return flask.render_template('help.html')
@bp.route('/xmlns/nyaa', methods=['GET'])
def xmlns_nyaa():
return flask.render_template('xmlns.html')