diff --git a/config/plugins/commands.yaml b/config/plugins/commands.yaml index 9e6c288..7336276 100644 --- a/config/plugins/commands.yaml +++ b/config/plugins/commands.yaml @@ -92,7 +92,7 @@ commands: permissions: - framework.command.test source: internal -last_updated: 279407.522655496 +last_updated: 279719.562686002 plugin_commands: example_plugin: echo: *id001 diff --git a/config/services/network_routes.yaml b/config/services/network_routes.yaml index a307021..0a832ba 100644 --- a/config/services/network_routes.yaml +++ b/config/services/network_routes.yaml @@ -1,5 +1,5 @@ http_port: 4200 -last_updated: 279407.52679284 +last_updated: 279719.566351315 plugin_routes: example_plugin: - methods: diff --git a/services/web_panel/manager.py b/services/web_panel/manager.py index 8b4a749..3280a44 100644 --- a/services/web_panel/manager.py +++ b/services/web_panel/manager.py @@ -52,6 +52,7 @@ class WebPanelManager: # 注册首页 (登录页) app.router.add_get(self.base_path, self._redirect_slash) app.router.add_get(f'{self.base_path}/', self._serve_index) + app.router.add_get(f'{self.base_path}/index.html', self._serve_index) # 🟢 新增: 注册面板主页 (/SenSu/home.html -> home.html) app.router.add_get(f'{self.base_path}/home.html', self._serve_home)