diff --git a/plugos/hooks/cron.ts b/plugos/hooks/cron.ts index 37b5d546..7e54d10b 100644 --- a/plugos/hooks/cron.ts +++ b/plugos/hooks/cron.ts @@ -2,8 +2,6 @@ import { Hook, Manifest } from "../types.ts"; import { Cron } from "https://cdn.jsdelivr.net/gh/hexagon/croner@4/src/croner.js"; import { safeRun } from "../util.ts"; import { System } from "../system.ts"; -import { timingSafeEqual } from "https://deno.land/std@0.152.0/crypto/timing_safe_equal"; - export type CronHookT = { cron?: string | string[]; }; diff --git a/scripts/generate_fs_list.ts b/scripts/generate_fs_list.ts index f0574b19..585127c8 100644 --- a/scripts/generate_fs_list.ts +++ b/scripts/generate_fs_list.ts @@ -18,7 +18,7 @@ for await ( const s = await Deno.stat(fullPath); allFiles.push({ name: fullPath.substring(rootDir.length + 1), - lastModified: Date.now(), + lastModified: 1, contentType: mime.getType(fullPath) || "application/octet-stream", size: s.size, perm: "rw", diff --git a/website/_headers b/website/_headers index d1d18510..ceacb41f 100644 --- a/website/_headers +++ b/website/_headers @@ -1,8 +1,8 @@ /fs/_plug/* Content-Type: application/json - X-Last-Modified: 0 + X-Last-Modified: 1 X-Permission: ro /fs/* Content-Type: text/markdown - X-Last-Modified: 0 + X-Last-Modified: 1 X-Permission: rw