mirror of
https://git.srhtnin.garden/sarah/SaraView.git
synced 2026-10-15 02:43:17 +02:00
Added more markdown syntax, and added portals.
This commit is contained in:
1 parent
ee7e163837
commit
9dba722cd9
6 files changed
+349
-8
No files matched your search
@@ -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}`;
|
||||
|
||||
Reference in new issue
Block a user