mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Add noscript page to the embed blueprint
This commit is contained in:
parent
727aa17e12
commit
03aa5f33a7
@ -87,3 +87,7 @@ def signin_complete():
|
|||||||
@embed.route("/login_discord")
|
@embed.route("/login_discord")
|
||||||
def login_discord():
|
def login_discord():
|
||||||
return redirect(url_for("user.login_authenticated", redirect=url_for("embed.signin_complete", _external=True)))
|
return redirect(url_for("user.login_authenticated", redirect=url_for("embed.signin_complete", _external=True)))
|
||||||
|
|
||||||
|
@embed.route("/noscript")
|
||||||
|
def noscript():
|
||||||
|
return render_template("noscript.html.j2")
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<!--Check whether JavaScript is enabled, otherwise redirect to error page-->
|
<!--Check whether JavaScript is enabled, otherwise redirect to error page-->
|
||||||
<noscript>
|
<noscript>
|
||||||
<meta http-equiv="refresh" content="0; URL=noscript.html">
|
<meta http-equiv="refresh" content="0; URL={{ url_for("embed.noscript") }}">
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
<!--Let browser know website is optimized for mobile-->
|
<!--Let browser know website is optimized for mobile-->
|
||||||
|
Loading…
Reference in New Issue
Block a user