diff --git a/src/flask_fs_router/__init__.py b/src/flask_fs_router/__init__.py index c61a0a1..0c81826 100644 --- a/src/flask_fs_router/__init__.py +++ b/src/flask_fs_router/__init__.py @@ -35,7 +35,7 @@ def init_app(self, app): methods=[route.get('method')], websocket=route.get("ws") ) - ) for route in FlaskFSRouter().routes_export() + ) for route in self.routes_export() ] def find_routes_files(self):