treewide: fix package structure

The static files need to be inside the module to be installed correctly
as part of the module.
This commit is contained in:
K900
2024-06-27 11:46:47 +03:00
committed by AAGaming
parent 6cd4fb5553
commit 5697d98862
30 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -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":