Fix login redirect: add /SenSu/index.html route, restart picks up new app.js
- /SenSu/index.html now serves login page (was 404 after cookie expiry) - Fresh restart with latest page loader + inline script execution - All routes verified: 200 OK
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user