diff --git a/webapp/titanembeds/blueprints/embed/embed.py b/webapp/titanembeds/blueprints/embed/embed.py index ed86b83..3ea16cd 100644 --- a/webapp/titanembeds/blueprints/embed/embed.py +++ b/webapp/titanembeds/blueprints/embed/embed.py @@ -74,7 +74,8 @@ def guild_embed(guild_id): client_id=config['client-id'], recaptcha_site_key=config["recaptcha-site-key"], css=customcss, - cssvariables=parse_css_variable(customcss) + cssvariables=parse_css_variable(customcss), + same_target=request.args.get("sametarget", False) == "true" ) abort(404) diff --git a/webapp/titanembeds/templates/card_queryparams.html.j2 b/webapp/titanembeds/templates/card_queryparams.html.j2 index b4b9d19..80b76cb 100644 --- a/webapp/titanembeds/templates/card_queryparams.html.j2 +++ b/webapp/titanembeds/templates/card_queryparams.html.j2 @@ -30,6 +30,18 @@