Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
@@ -400,7 +400,7 @@
|
|
400 |
|
401 |
shareIcon.addEventListener("click", function() {
|
402 |
const id = this.getAttribute("data-id");
|
403 |
-
const urlToCopy = `${window.location.origin}/?
|
404 |
|
405 |
navigator.clipboard.writeText(urlToCopy).then(() => {
|
406 |
console.log("URL copied to clipboard");
|
|
|
400 |
|
401 |
shareIcon.addEventListener("click", function() {
|
402 |
const id = this.getAttribute("data-id");
|
403 |
+
const urlToCopy = `${window.location.origin}/?id=${id}`;
|
404 |
|
405 |
navigator.clipboard.writeText(urlToCopy).then(() => {
|
406 |
console.log("URL copied to clipboard");
|