mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: implement registration page with Turnstile verification and loading state
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import type { PageServerLoad } from './$types';
|
||||
|
||||
export const load: PageServerLoad = async ({ fetch }) => {
|
||||
try {
|
||||
const res = await fetch('/api/auth/info');
|
||||
const options = await res.json();
|
||||
return { options };
|
||||
} catch {
|
||||
return { options: null };
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user