1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-16 01:31:11 +00:00

fix: cache version information for 3 hours

This commit is contained in:
Elias Schneider
2024-10-23 11:48:46 +02:00
parent 2092007752
commit 29d632c151
3 changed files with 30 additions and 11 deletions

View File

@@ -1,11 +0,0 @@
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
};
};