Add user scalable query parameter (#74)

This commit is contained in:
Jeremy Zhang
2018-02-02 08:49:48 +00:00
parent 61a6d9ff69
commit 8b4877cc4b
3 changed files with 23 additions and 1 deletions

View File

@ -85,7 +85,8 @@ def guild_embed(guild_id):
recaptcha_site_key=config["recaptcha-site-key"],
css=customcss,
cssvariables=parse_css_variable(customcss),
same_target=request.args.get("sametarget", False) == "true"
same_target=request.args.get("sametarget", False) == "true",
userscalable=request.args.get("userscalable", "True").lower().startswith("t")
)
abort(404)