v1.0.159: fix app.js path
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user