From 5697d98862efa81a8ad3651e9ef68d754a58ea90 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 27 Jun 2024 11:46:47 +0300 Subject: treewide: fix package structure The static files need to be inside the module to be installed correctly as part of the module. --- backend/decky_loader/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/decky_loader/main.py') diff --git a/backend/decky_loader/main.py b/backend/decky_loader/main.py index a1e683da..fe93c11b 100644 --- a/backend/decky_loader/main.py +++ b/backend/decky_loader/main.py @@ -88,7 +88,7 @@ class PluginManager: for route in list(self.web_app.router.routes()): self.cors.add(route) # pyright: ignore [reportUnknownMemberType] - self.web_app.add_routes([static("/static", path.join(path.dirname(__file__), '..', 'static'))]) + self.web_app.add_routes([static("/static", path.join(path.dirname(__file__), 'static'))]) def exception_handler(self, loop: AbstractEventLoop, context: Dict[str, str]): if context["message"] == "Unclosed connection": -- cgit v1.2.3