mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-24 06:11:57 +00:00
14 lines
340 B
Python
14 lines
340 B
Python
from flask import redirect
|
|
|
|
|
|
def init_app(app):
|
|
"""Initialize application."""
|
|
|
|
@app.route("/amdmodel")
|
|
@app.extensions["menu"].root().register(".main.amdmodel", "About AM-D-Model")
|
|
def redirect_to_amdmodel():
|
|
"""Redirect to the AM-D-Model website."""
|
|
return redirect("https://am-d-model.eu")
|
|
|
|
return app
|