mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Use proper OS-specific path uris in many more places
also move path.join into local_path and output_path to simplify use
This commit is contained in:
2
WebUI.py
2
WebUI.py
@@ -143,7 +143,7 @@ class RequestHandler(http.server.SimpleHTTPRequestHandler):
|
||||
|
||||
|
||||
Handler = partial(RequestHandler,
|
||||
directory=Utils.local_path(os.path.join("data", "web", "public")))
|
||||
directory=Utils.local_path("data", "web", "public"))
|
||||
|
||||
|
||||
def start_server(socket_port: int, on_start=lambda: None):
|
||||
|
Reference in New Issue
Block a user