Add .html suffix to html pages, updated webui.go to search for them correctly

This commit is contained in:
the-m-monk
2025-12-29 22:18:30 +10:00
parent f4944ab3b3
commit 775edabdf8
6 changed files with 24 additions and 3 deletions

View File

@@ -0,0 +1 @@
export const url_params = new URLSearchParams(window.location.search)

View File

@@ -1,3 +1,4 @@
import * as lib from '/web/js/api/libraries.js';
import { url_params } from '/web/js/lib/search_params.js'
console.log(await lib.ls("lib1", "/"))
console.log(await lib.ls(url_params.get("lib"), url_params.get("path")))