commit f12922f1da48a35a40dbbd90b065278a75d04957
parent 750156eb45ddf34224b5c745c7823836599ddd1c
Author: Amit Dutta <mail@amit.is-a.dev>
Date: Mon, 20 Jul 2026 20:33:14 +0530
Update index.html
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
@@ -283,7 +283,7 @@
if (xhr.status >= 200 && xhr.status < 300) {
try {
const data = JSON.parse(xhr.responseText);
- const finalUrl = `https://upload.amit.is-a.dev/?item=${data.item_id}`;
+ const finalUrl = `${window.location.origin}/?item=${data.item_id}`;
finalLink.href = finalUrl;
finalLink.innerText = finalUrl;