Created
January 13, 2026 14:35
-
-
Save richardherbert/9cbac5fbb1b7d63f8492c31be8c4a06e to your computer and use it in GitHub Desktop.
src/routes/signout/+page.server.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // src/routes/signout/+page.server.js | |
| import { supabase } from '$lib/supabaseClient'; | |
| export const load = async () => { | |
| const { error } = await supabase.auth.signOut(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment