fix space

This commit is contained in:
zefie
2025-08-13 15:01:33 -04:00
parent 25fff4b3a7
commit 8231441c37

View File

@@ -18,5 +18,5 @@ if (request_headers['wtv-request-type'] === "download") {
const queryString = Object.keys(query) const queryString = Object.keys(query)
.map(key => encodeURIComponent(key) + '=' + encodeURIComponent(query[key])) .map(key => encodeURIComponent(key) + '=' + encodeURIComponent(query[key]))
.join('&'); .join('&');
headers = "302 Found\nwtv-expire-all:wtv-disk:\nLocation: wtv-disk:/content/DownloadScreen.tmpl" + (queryString ? ("?" + queryString) : ""); headers = "302 Found\nwtv-expire-all: wtv-disk:\nLocation: wtv-disk:/content/DownloadScreen.tmpl" + (queryString ? ("?" + queryString) : "");
} }