feat: 用安装页和编排完成部署,并整理登录页
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export let installed: boolean | null = null;
|
||||
|
||||
export async function refreshInstalled() {
|
||||
const response = await fetch("/api/install/status");
|
||||
installed = Boolean((await response.json()).installed);
|
||||
return installed;
|
||||
}
|
||||
|
||||
export function markInstalled() {
|
||||
installed = true;
|
||||
}
|
||||
Reference in New Issue
Block a user