Fix build and tests
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 { Cron } from "https://cdn.jsdelivr.net/gh/hexagon/croner@4/src/croner.js";
|
||||||
import { safeRun } from "../util.ts";
|
import { safeRun } from "../util.ts";
|
||||||
import { System } from "../system.ts";
|
import { System } from "../system.ts";
|
||||||
import { timingSafeEqual } from "https://deno.land/std@0.152.0/crypto/timing_safe_equal";
|
|
||||||
|
|
||||||
export type CronHookT = {
|
export type CronHookT = {
|
||||||
cron?: string | string[];
|
cron?: string | string[];
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,7 +18,7 @@ for await (
|
||||||
const s = await Deno.stat(fullPath);
|
const s = await Deno.stat(fullPath);
|
||||||
allFiles.push({
|
allFiles.push({
|
||||||
name: fullPath.substring(rootDir.length + 1),
|
name: fullPath.substring(rootDir.length + 1),
|
||||||
lastModified: Date.now(),
|
lastModified: 1,
|
||||||
contentType: mime.getType(fullPath) || "application/octet-stream",
|
contentType: mime.getType(fullPath) || "application/octet-stream",
|
||||||
size: s.size,
|
size: s.size,
|
||||||
perm: "rw",
|
perm: "rw",
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/fs/_plug/*
|
/fs/_plug/*
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
X-Last-Modified: 0
|
X-Last-Modified: 1
|
||||||
X-Permission: ro
|
X-Permission: ro
|
||||||
/fs/*
|
/fs/*
|
||||||
Content-Type: text/markdown
|
Content-Type: text/markdown
|
||||||
X-Last-Modified: 0
|
X-Last-Modified: 1
|
||||||
X-Permission: rw
|
X-Permission: rw
|
||||||
|
|
Loading…
Reference in New Issue