From 7b29116f4e17fe5de79d7a966822430a8c734f00 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sat, 1 Aug 2026 19:29:12 +0800 Subject: [PATCH] Update CDN Hosts --- Build/lib/content-hash.ts | 16 ++++++++++++++++ Source/domainset/cdn.conf | 3 +++ 2 files changed, 19 insertions(+) diff --git a/Build/lib/content-hash.ts b/Build/lib/content-hash.ts index dc500faf..4431312b 100644 --- a/Build/lib/content-hash.ts +++ b/Build/lib/content-hash.ts @@ -1,6 +1,7 @@ import { fastStringArrayJoin } from 'foxts/fast-string-array-join'; import { Buffer } from 'node:buffer'; import { createHash } from 'node:crypto'; +import fs from 'node:fs'; import fsp from 'node:fs/promises'; /** @@ -64,6 +65,21 @@ export async function extractContentHashFromFile(filePath: string): Promise