fix paths

This commit is contained in:
AAGaming
2023-09-30 13:15:35 -04:00
parent e8cbeb1805
commit ade7cb7640
6 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -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]):