From 949244e8e6b54921beeefab3524c2de63914f737 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sat, 30 Sep 2023 13:15:35 -0400 Subject: fix paths --- backend/src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/src/main.py') diff --git a/backend/src/main.py b/backend/src/main.py index 793d000c..83a4b997 100644 --- a/backend/src/main.py +++ b/backend/src/main.py @@ -86,7 +86,7 @@ class PluginManager: for route in list(self.web_app.router.routes()): self.cors.add(route) # type: ignore - 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'))]) self.web_app.add_routes([static("/legacy", path.join(path.dirname(__file__), 'legacy'))]) def exception_handler(self, loop: AbstractEventLoop, context: Dict[str, str]): -- cgit v1.2.3