mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-31 19:08:13 +08:00
fix: enforce permission-aware navigation
This commit is contained in:
@@ -98,7 +98,7 @@ const startHeartbeat = () => {
|
||||
heartbeatInterval = window.setInterval(async () => {
|
||||
try {
|
||||
if (isLogin.value) {
|
||||
await api.get('dashboard/cpu')
|
||||
await api.get('system/ping')
|
||||
}
|
||||
} catch (error) {
|
||||
console.warn('Heartbeat request failed:', error)
|
||||
|
||||
Reference in New Issue
Block a user