Drop support for legacy plugins

This commit is contained in:
marios8543
2023-10-17 16:07:43 +03:00
parent 1b9d674a81
commit 796b8b49f4
8 changed files with 9 additions and 83 deletions
-1
View File
@@ -87,7 +87,6 @@ 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("/legacy", path.join(path.dirname(__file__), 'legacy'))])
def exception_handler(self, loop: AbstractEventLoop, context: Dict[str, str]):
if context["message"] == "Unclosed connection":