(20241128) Serving HTML on redirect.

This commit is contained in:
2024-11-28 19:27:56 +05:30
parent de78d58e2c
commit 7241bd977f
5 changed files with 187 additions and 53 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ APP_VERSION = constants.APP_VERSION
# The Quart app:
app = Quart(__name__)
app = Quart(__name__, template_folder = r"../views")
app = cors(app)
app.register_blueprint(mail_oauth_bp, url_prefix = f"/{MODULE_BASE}/mail")
app.register_blueprint(mail_callback_bp, url_prefix = f"/{MODULE_BASE}/mail")