From eca311717a2f6ef3e90b9a45ff49c234dd454e5d Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Mon, 27 Feb 2023 02:02:32 +0300 Subject: [PATCH] Update index.html --- www/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/index.html b/www/index.html index 86497bae..15b3a619 100644 --- a/www/index.html +++ b/www/index.html @@ -125,7 +125,8 @@ ev.preventDefault(); const url = new URL("api/streams", location.href); - url.searchParams.set("src", ev.target.dataset.name); + const src = decodeURIComponent(ev.target.dataset.name); + url.searchParams.set("src", src); fetch(url, {method: "DELETE"}).then(reload); });