feat: add version information to footer and update link if new update is available

This commit is contained in:
Elias Schneider
2024-10-18 20:48:59 +02:00
parent 2587058ded
commit 70ad0b4f39
6 changed files with 71 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
import AppConfigService from '$lib/services/app-config-service';
import type { LayoutLoad } from './$types';
export const load: LayoutLoad = async () => {
const appConfigService = new AppConfigService();
const versionInformation = await appConfigService.getVersionInformation();
return {
versionInformation
};
};