mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Fix error in logout procedure and guard for each route (#439)
This commit is contained in:
parent
f881981c44
commit
28c7736ecd
9 changed files with 58 additions and 20 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import type { ExternalFetch, GetSession, Handle } from '@sveltejs/kit';
|
||||
import * as cookie from 'cookie';
|
||||
import { api, serverApi } from '@api';
|
||||
import { serverApi } from '@api';
|
||||
|
||||
export const handle: Handle = async ({ event, resolve }) => {
|
||||
const cookies = cookie.parse(event.request.headers.get('cookie') || '');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue