This commit is contained in:
2025-12-06 17:59:53 +01:00
parent 4cc169ca92
commit 29c9a986fc
+1 -1
View File
@@ -13,7 +13,7 @@ class Handler(BaseHTTPRequestHandler):
if self.path == "/":
rdata = repr(data["playlist"]).encode()
self.send_response(200)
self.send_header("Content-Length", str(len(data)))
self.send_header("Content-Length", str(len(data["playlist"])))
self.end_headers()
self.wfile.write(rdata)