You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-27 06:03:52 +01:00
final fix
This commit is contained in:
@@ -13,7 +13,7 @@ class Handler(BaseHTTPRequestHandler):
|
|||||||
if self.path == "/":
|
if self.path == "/":
|
||||||
rdata = repr(data["playlist"]).encode()
|
rdata = repr(data["playlist"]).encode()
|
||||||
self.send_response(200)
|
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.end_headers()
|
||||||
self.wfile.write(rdata)
|
self.wfile.write(rdata)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user