mirror of
https://github.com/ProjectSynthoria/SynthoriaArchive.git
synced 2025-03-12 23:36:54 +02:00
9 lines
315 B
Python
9 lines
315 B
Python
from nyaa import app, template_utils, views
|
|
from nyaa.api_handler import api_blueprint
|
|
|
|
# Register all template filters and template globals
|
|
app.register_blueprint(template_utils.bp)
|
|
# Register the API routes
|
|
app.register_blueprint(api_blueprint, url_prefix='/api')
|
|
# Register the site's routes
|
|
views.register(app)
|