feat: 故障推送 / 公需课自动重学 / 插件解耦,发版 v0.0.8
体检修复:启动日志不再打印 AUTH_TOKEN、密钥可清空、推送失败不占整段冷却、目录名与文案统一成 plugins/。
This commit is contained in:
+5
-1
@@ -3,9 +3,13 @@ import { createRoot } from 'react-dom/client'
|
||||
|
||||
import App from './App'
|
||||
import './index.css'
|
||||
import QueryPage from './pages/QueryPage'
|
||||
|
||||
// /query 是不需要 token 的公开查询页,其余路径是控制台
|
||||
const Page = window.location.pathname.replace(/\/+$/, '') === '/query' ? QueryPage : App
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
<Page />
|
||||
</StrictMode>,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user