0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00
This commit is contained in:
2025-12-06 17:59:53 +01:00
parent 4cc169ca92
commit 29c9a986fc

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)