1
0

Fix build and tests

This commit is contained in:
Zef Hemel 2023-01-25 18:40:34 +01:00
parent bd152dd297
commit e14d6a6fb8
3 changed files with 3 additions and 5 deletions

View File

@ -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[];
};

View File

@ -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",

View File

@ -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