diff --git a/core/scripts/webpanel/routers/__init__.py b/core/scripts/webpanel/routers/__init__.py index e1d5440..4dc7607 100644 --- a/core/scripts/webpanel/routers/__init__.py +++ b/core/scripts/webpanel/routers/__init__.py @@ -1,3 +1 @@ -from . import user -from . import hysteria -from . import warp +from . import api diff --git a/core/scripts/webpanel/routers/api/__init__.py b/core/scripts/webpanel/routers/api/__init__.py new file mode 100644 index 0000000..bbf8c7e --- /dev/null +++ b/core/scripts/webpanel/routers/api/__init__.py @@ -0,0 +1 @@ +from . import v1 \ No newline at end of file diff --git a/core/scripts/webpanel/routers/api/v1/__init__.py b/core/scripts/webpanel/routers/api/v1/__init__.py new file mode 100644 index 0000000..ddc5cc2 --- /dev/null +++ b/core/scripts/webpanel/routers/api/v1/__init__.py @@ -0,0 +1,7 @@ +from fastapi import APIRouter + +router = APIRouter() + + +# Import files so they are registered +from . import user # noqa