mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-03 23:37:09 +01:00 
			
		
		
		
	Add noscript page to the embed blueprint
This commit is contained in:
		@@ -87,3 +87,7 @@ def signin_complete():
 | 
			
		||||
@embed.route("/login_discord")
 | 
			
		||||
def login_discord():
 | 
			
		||||
    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-->
 | 
			
		||||
    <noscript>
 | 
			
		||||
      <meta http-equiv="refresh" content="0; URL=noscript.html">
 | 
			
		||||
      <meta http-equiv="refresh" content="0; URL={{ url_for("embed.noscript") }}">
 | 
			
		||||
    </noscript>
 | 
			
		||||
 | 
			
		||||
    <!--Let browser know website is optimized for mobile-->
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user