Add site information management with Markdown support

This commit is contained in:
2025-05-18 11:04:59 +08:00
parent 1b5eb23a65
commit be09b55765
9 changed files with 67 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ import {User} from "./network/models.ts";
interface MyWindow extends Window {
serverName?: string;
cloudflareTurnstileSiteKey?: string;
siteInfo?: string;
}
class App {
@@ -14,6 +15,8 @@ class App {
cloudflareTurnstileSiteKey: string | null = null;
siteInfo = ""
constructor() {
this.init();
}
@@ -29,6 +32,7 @@ class App {
}
this.appName = (window as MyWindow).serverName || this.appName;
this.cloudflareTurnstileSiteKey = (window as MyWindow).cloudflareTurnstileSiteKey || null;
this.siteInfo = (window as MyWindow).siteInfo || "";
}
saveData() {