⬆️ Upgraded SvelteKit

This commit is contained in:
Mawoka
2022-08-18 15:53:02 +02:00
parent 9b79358db3
commit a3b015ffca
27 changed files with 938 additions and 567 deletions
+11
View File
@@ -0,0 +1,11 @@
import { signedIn } from '$lib/stores';
export async function load({ url, session }) {
if (session.authenticated) {
signedIn.set(true);
}
const token = url.searchParams.get('pin');
return {
game_pin: token === null ? '' : token
};
}