Changed self-hosted to run on ESM

This commit is contained in:
Alexander Cerutti
2025-01-11 15:36:43 +01:00
parent 028831ea9a
commit 4044125e6a
12 changed files with 343 additions and 42 deletions

View File

@@ -1,5 +1,8 @@
import fs from "node:fs/promises";
import path from "node:path";
import { fileURLToPath } from "node:url";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
interface Cache {
certificates: