Skip to content

Commit

Permalink
Correctly pass domain in query
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerWow authored May 22, 2022
1 parent 6e014b9 commit 4061d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function showFile() {
body: JSON.stringify({ oas }),
}).then((response) => response.json()).then((data) => {
const a = document.createElement("a");
a.href = `https://www.blstsecurity.com/ScanSwagger/${data.scan_id}?tab=Summary&promo=blst#${document.location.origin}`;
a.href = `https://www.blstsecurity.com/ScanSwagger/${data.scan_id}?tab=Summary&promo=blst&domain=${document.location.origin}`;
a.target = "_blank";
a.rel = "noopener noreferrer";
document.body.appendChild(a);
Expand Down

0 comments on commit 4061d7f

Please sign in to comment.