v1.0.159: fix app.js path

This commit is contained in:
2026-06-23 17:23:26 +04:00
parent 9b23148c16
commit 4b0e5c04de
+1 -1
View File
@@ -123,7 +123,7 @@ class Handler(BaseHTTPRequestHandler):
def _handle_app_js(self): def _handle_app_js(self):
try: try:
with open(os.path.join(os.path.dirname(__file__), "..", "app.js"), "rb") as f: with open(os.path.join(os.path.dirname(__file__), "app.js"), "rb") as f:
js = f.read() js = f.read()
self.send_response(200) self.send_response(200)
self.send_header("Content-Type", "application/javascript; charset=utf-8") self.send_header("Content-Type", "application/javascript; charset=utf-8")