Update MPVPage

This commit is contained in:
2023-05-20 11:50:20 +08:00
parent f13387163c
commit 228ff6dcc1
5 changed files with 255 additions and 16 deletions

View File

@@ -2,7 +2,12 @@ import { exists } from "std/fs/exists.ts";
export const API_PERMISSION: Deno.PermissionOptions = {
read: ["./config.json"],
net: ["e-hentai.org", "exhentai.org"],
net: [
"e-hentai.org",
"exhentai.org",
"api.e-hentai.org",
"api.exhentai.org",
],
};
export async function remove_if_exists(f: string) {