chore: hide workflow path (#25539)

This commit is contained in:
Alex
2026-01-26 16:47:24 -06:00
committed by GitHub
parent 42b354c302
commit 6b2737bae3
2 changed files with 8 additions and 2 deletions
@@ -1,10 +1,17 @@
import { authenticate } from '$lib/utils/auth';
import { getFormatter } from '$lib/utils/i18n';
import { getPlugins, getWorkflows } from '@immich/sdk';
import { redirect } from '@sveltejs/kit';
import type { PageLoad } from './$types';
export const load = (async ({ url }) => {
await authenticate(url);
const isReady = false;
if (!isReady) {
redirect(307, '/utilities');
}
const [workflows, plugins] = await Promise.all([getWorkflows(), getPlugins()]);
const $t = await getFormatter();