fix: install remaining issues

This commit is contained in:
swve 2023-07-14 11:35:41 +01:00
parent 99890a950b
commit 72c5d13028
2 changed files with 9 additions and 64 deletions

View file

@ -33,7 +33,7 @@ export async function createDefaultElements() {
export async function isInstallModeEnabled() {
const result = await fetch(`${getAPIUrl()}install/latest`, RequestBody("GET", null, null));
if (result.status === 200) {
if (result.status === 200 || result.status === 404) {
return true;
}
else {