mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-16 04:35:24 +02:00
refactor(access-log): consolidate web server settings imports and enhance log cleanup status retrieval
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import { paths } from "@dokploy/server/constants";
|
||||
import { updateWebServerSettings } from "@dokploy/server/services/web-server-settings";
|
||||
import {
|
||||
getWebServerSettings,
|
||||
updateWebServerSettings,
|
||||
} from "@dokploy/server/services/web-server-settings";
|
||||
import { scheduledJobs, scheduleJob } from "node-schedule";
|
||||
import { execAsync } from "../process/execAsync";
|
||||
|
||||
@@ -58,8 +61,6 @@ export const stopLogCleanup = async (): Promise<boolean> => {
|
||||
}
|
||||
};
|
||||
|
||||
import { getWebServerSettings } from "@dokploy/server/services/web-server-settings";
|
||||
|
||||
export const getLogCleanupStatus = async (): Promise<{
|
||||
enabled: boolean;
|
||||
cronExpression: string | null;
|
||||
|
||||
Reference in New Issue
Block a user