Skip to content

Commit 4061d7f

Browse files
authored
Correctly pass domain in query
1 parent 6e014b9 commit 4061d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widget.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function showFile() {
4343
body: JSON.stringify({ oas }),
4444
}).then((response) => response.json()).then((data) => {
4545
const a = document.createElement("a");
46-
a.href = `https://www.blstsecurity.com/ScanSwagger/${data.scan_id}?tab=Summary&promo=blst#${document.location.origin}`;
46+
a.href = `https://www.blstsecurity.com/ScanSwagger/${data.scan_id}?tab=Summary&promo=blst&domain=${document.location.origin}`;
4747
a.target = "_blank";
4848
a.rel = "noopener noreferrer";
4949
document.body.appendChild(a);

0 commit comments

Comments
 (0)