Split frontend config API into file_config, server, and health modules

This commit is contained in:
2026-04-18 20:32:38 +02:00
parent 01f2e07921
commit d9550ae4aa
14 changed files with 179 additions and 37 deletions

View File

@@ -8,16 +8,18 @@ import {
fetchGlobalConfig,
fetchJailConfig,
fetchJailConfigs,
fetchServerSettings,
flushLogs,
previewLog,
reloadConfig,
restartFail2Ban,
testRegex,
updateGlobalConfig,
updateJailConfig,
updateServerSettings,
} from "../api/config";
import {
fetchServerSettings,
flushLogs,
updateServerSettings,
} from "../api/server";
import { handleFetchError } from "../utils/fetchError";
import type {
AddLogPathRequest,