Added listing of files and directories

This commit is contained in:
2025-12-23 12:25:24 +01:00
parent 7349624da9
commit 3a52b85dfb
8 changed files with 266 additions and 23 deletions

5
src/lib/util.ts Normal file
View File

@@ -0,0 +1,5 @@
import { env } from "$env/dynamic/public";
export function url(path: string) {
return `${env.PUBLIC_JEOPARDY_SERVER_PROTOCOL}://${env.PUBLIC_JEOPARDY_SERVER}${path.startsWith("/") ? "" : "/"}${path}`;
}