* Merge main into turbo-monrepo * feat: rename apps * feat: remove supbase videos and serve all from project * feat: move supabase to root * feat: update README * docs: update link
9 lines
257 B
JavaScript
9 lines
257 B
JavaScript
export async function handleAuthChange(event, session) {
|
|
await fetch('/api/auth', {
|
|
method: 'POST',
|
|
headers: new Headers({ 'Content-Type': 'application/json' }),
|
|
credentials: 'same-origin',
|
|
body: JSON.stringify({ event, session })
|
|
});
|
|
}
|