This commit is contained in:
2025-11-18 14:39:32 +08:00
parent 572f793061
commit a24bd021a9
8 changed files with 238 additions and 41 deletions

View File

@@ -1,3 +1,12 @@
import { App } from '@kevisual/router'
import { createStorage } from "unstorage";
import fsDriver from "unstorage/drivers/fs";
import { CloudflareConfig } from "@agent/task.ts";
export const storage = createStorage({
driver: fsDriver({
base: process.cwd() + '/storage/ddns-agent'
}),
});
export const app = new App();