mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-07 18:29:04 +02:00
10 lines
196 B
TypeScript
10 lines
196 B
TypeScript
import type { PageLoad } from './$types';
|
|
|
|
export const load: PageLoad = async ({ url }) => {
|
|
const error = url.searchParams.get('error') ?? "An unknown error occured."
|
|
|
|
return {
|
|
error
|
|
};
|
|
};
|