diff options
| author | Fuwn <[email protected]> | 2023-09-13 01:48:48 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-09-13 01:48:48 -0700 |
| commit | e144c82c717793567627cbe478d34fe9519f45d5 (patch) | |
| tree | 1987bf6a38081a2bab908e6bf56aa83ed35008be /src | |
| parent | refactor(mangadex): move to api (diff) | |
| download | due.moe-e144c82c717793567627cbe478d34fe9519f45d5.tar.xz due.moe-e144c82c717793567627cbe478d34fe9519f45d5.zip | |
refactor(auth): move to api
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/+layout.svelte | 2 | ||||
| -rw-r--r-- | src/routes/api/authentication/log-out/+server.ts (renamed from src/routes/authentication/log-out/+server.ts) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 60e82044..0dc3b83c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -66,7 +66,7 @@ >Log in with AniList</a > {:else} - <a href="/authentication/log-out">Log out from AniList ({currentUserIdentity.name})</a> + <a href="/api/authentication/log-out">Log out from AniList ({currentUserIdentity.name})</a> {/if} {#if !lastActivityWasToday} diff --git a/src/routes/authentication/log-out/+server.ts b/src/routes/api/authentication/log-out/+server.ts index 22ef49d8..22ef49d8 100644 --- a/src/routes/authentication/log-out/+server.ts +++ b/src/routes/api/authentication/log-out/+server.ts |