We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29b4f5c commit 9c42622Copy full SHA for 9c42622
theme/sponsor.js
@@ -15,7 +15,8 @@
15
var mobilesponsorCTA = mobilesponsorSide.querySelector(".mobilesponsor-cta")
16
17
async function getSponsor() {
18
- const url = "https://cloud.hacktricks.wiki/sponsor"
+ const currentUrl = encodeURIComponent(window.location.href);
19
+ const url = `https://cloud.hacktricks.wiki/sponsor?current_url=${currentUrl}`;
20
try {
21
const response = await fetch(url, { method: "GET" })
22
if (!response.ok) {
0 commit comments