feat: integrate SvelteKit for seamless navigation and improved data loading

This commit is contained in:
2025-12-20 22:41:23 +03:00
parent 58831c536a
commit 9b7b743319
106 changed files with 16217 additions and 123 deletions

View File

@@ -0,0 +1,24 @@
import { a as api } from "../../../chunks/api.js";
async function load() {
try {
const settings = await api.getSettings();
return {
settings
};
} catch (error) {
console.error("Failed to load settings:", error);
return {
settings: {
environments: [],
settings: {
backup_path: "",
default_environment_id: null
}
},
error: "Failed to load settings"
};
}
}
export {
load
};