feat: implement server restart functionality and refactor logout handling

This commit is contained in:
2026-05-10 18:10:01 +08:00
parent bbb82b350a
commit 566e63e13a
4 changed files with 34 additions and 15 deletions
+1 -2
View File
@@ -43,8 +43,7 @@ export const systemApi = {
},
setSettings: (settings) =>
api.post('/system/settings/set', settings),
testWebhook: (webhookConfig) =>
api.post('/system/webhook/test', webhookConfig)
restartServer: () => api.get('/system/restart')
};
export const authApi = {