blob: d19dfd3de95efa24b4ab97f2a0b05381dbc7bb0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<script>
import Popup from '$lib/Layout/Popup.svelte';
import { env } from '$env/dynamic/public';
</script>
<Popup fullscreen locked>
<div class="message">
Please <a
href={`https://anilist.co/api/v2/oauth/authorize?client_id=${env.PUBLIC_ANILIST_CLIENT_ID}&redirect_uri=${env.PUBLIC_ANILIST_REDIRECT_URI}&response_type=code`}
onclick={() => {
localStorage.setItem(
'redirect',
window.location.origin + window.location.pathname + window.location.search
);
}}>log in</a
> to view this page.
</div>
</Popup>
|