new build script
This commit is contained in:
parent
2bf44e3c50
commit
854da8ecec
4 changed files with 112 additions and 163 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue