0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00

final fix

This commit is contained in:
2025-12-06 18:00:33 +01:00
parent 29c9a986fc
commit b4c47fd27f

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["playlist"])))
self.send_header("Content-Length", str(len(rdata)))
self.end_headers()
self.wfile.write(rdata)