We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4061d7f commit 8263c3fCopy full SHA for 8263c3f
src/widget.js
@@ -43,7 +43,7 @@ function showFile() {
43
body: JSON.stringify({ oas }),
44
}).then((response) => response.json()).then((data) => {
45
const a = document.createElement("a");
46
- a.href = `https://www.blstsecurity.com/ScanSwagger/${data.scan_id}?tab=Summary&promo=blst&domain=${document.location.origin}`;
+ a.href = `https://www.blstsecurity.com/ScanSwagger/${data.scan_id}?tab=Summary&promo=${document.getElementById("cyRefcode").attributes['data-ref'].value || 'blst'}&domain=${document.location.origin}`;
47
a.target = "_blank";
48
a.rel = "noopener noreferrer";
49
document.body.appendChild(a);
0 commit comments