mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
* feat(web): meta tags for share links * refactor: svelte head tags * chore: clean up * chore: linting
17 lines
352 B
TypeScript
17 lines
352 B
TypeScript
export const prerender = false;
|
|
import { redirect } from '@sveltejs/kit';
|
|
import type { PageLoad } from './$types';
|
|
|
|
export const load: PageLoad = async ({ parent }) => {
|
|
const { user } = await parent();
|
|
if (user) {
|
|
throw redirect(302, '/photos');
|
|
}
|
|
|
|
return {
|
|
meta: {
|
|
title: 'Welcome 🎉',
|
|
description: 'Immich Web Interface'
|
|
}
|
|
};
|
|
};
|