add env vars for configuring onion and I2P urls

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-04-07 04:46:47 +03:00
parent 4eb5ad6ef3
commit 0134bd2ab1
15 changed files with 62 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
import { urljoin } from "$lib/util.js";
import { urljoin, env_url } from "$lib/util.js";
function doc_urljoin(path = null, query = {}) {
return urljoin(import.meta.env.WEBSITE_DOC_URL, path, query);