feature: verify tokens
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
import { updated } from '$app/stores';
|
||||
import { setContextClient } from '@urql/svelte';
|
||||
import { newClient } from '$lib/gql/client';
|
||||
import { Me } from '$lib/gql/account.gql';
|
||||
import '../app.css';
|
||||
import { Me } from '$lib/gql/auth.gql';
|
||||
|
||||
const { children } = $props();
|
||||
const host = import.meta.env.VITE_GRAPH_URL ?? ''
|
||||
const host = import.meta.env.VITE_GRAPH_URL ?? '';
|
||||
const client = newClient(`${host}/query`);
|
||||
|
||||
setContextClient(client);
|
||||
|
7
web/routes/account/verify-email/+page.svelte
Normal file
7
web/routes/account/verify-email/+page.svelte
Normal file
@@ -0,0 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
const hash = $derived($page.url.hash);
|
||||
</script>
|
||||
|
||||
<p>hello</p>
|
||||
<p>{hash}</p>
|
Reference in New Issue
Block a user