Backend half

This commit is contained in:
2025-07-11 19:56:28 +02:00
parent fa868e7c1d
commit 8600fa7c1d
19426 changed files with 3750448 additions and 8108 deletions
@@ -0,0 +1,2 @@
import { escapeUri } from "./escape-uri";
export const escapeUriPath = (uri) => uri.split("/").map(escapeUri).join("/");
@@ -0,0 +1,2 @@
export const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
const hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
@@ -0,0 +1,2 @@
export * from "./escape-uri";
export * from "./escape-uri-path";