new build script

This commit is contained in:
MathMan05 2025-05-01 16:23:48 -05:00
parent 2bf44e3c50
commit 854da8ecec
4 changed files with 112 additions and 163 deletions

View file

@ -1,5 +1,3 @@
#!/usr/bin/env node
import compression from "compression";
import express, {Request, Response} from "express";
import fs from "node:fs/promises";
@ -27,6 +25,7 @@ async function getDirectories(path: string): Promise<dirtype> {
),
);
}
let dirs: dirtype | undefined = undefined;
async function combinePath(path: string, tryAgain = true): Promise<string> {
if (!dirs) {