Fix build and tests
This commit is contained in:
parent
bd152dd297
commit
e14d6a6fb8
@ -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[];
|
||||
};
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user