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:
@@ -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
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user