Added more markdown syntax, and added portals.

This commit is contained in:
sarah committed 2026-09-21 18:24:08 +02:00
1 parent ee7e163837
commit 9dba722cd9
6 files changed
+349 -8

No files matched your search

+5
View File
@@ -141,6 +141,11 @@ export function FetchFile(RootName, RelativePath) {
return FetchText(`/file?${Params}`);
}
export function FetchResolvedFile(RootName, RelativePath) {
const Params = new URLSearchParams({ Root: RootName, Path: RelativePath });
return FetchJson(`/file/resolved?${Params}`);
}
export function GetFileUrl(RootName, RelativePath) {
const Params = new URLSearchParams({ Root: RootName, Path: RelativePath });
return `${ApiBase}/file?${Params}`;