diff options
| author | Fuwn <[email protected]> | 2023-12-14 12:52:26 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-14 12:52:26 -0800 |
| commit | c4267cce67e7de6dea2277ce07b6f9a22d8ca674 (patch) | |
| tree | c1279a47204ea7359937b469f61e48deb3c64747 /src/routes | |
| parent | style(stores): simplify statements (diff) | |
| download | due.moe-c4267cce67e7de6dea2277ce07b6f9a22d8ca674.tar.xz due.moe-c4267cce67e7de6dea2277ce07b6f9a22d8ca674.zip | |
feat(api): nest routes
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/+layout.svelte | 4 | ||||
| -rw-r--r-- | src/routes/api/anilist/increment/+server.ts (renamed from src/routes/api/anilist-increment/+server.ts) | 0 | ||||
| -rw-r--r-- | src/routes/api/authentication/log-out/+server.ts (renamed from src/routes/api/authentication-log-out/+server.ts) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 2374ff8e..881e50f4 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -39,7 +39,7 @@ >Log in</a > {:else} - <a href="/api/authentication-log-out">Log out ({currentUserIdentity.name})</a> + <a href="/api/authentication/log-out">Log out ({currentUserIdentity.name})</a> {/if} </div> {:else} @@ -55,7 +55,7 @@ Log in with AniList </a> {:else} - <a href="/api/authentication-log-out">Log out from AniList ({currentUserIdentity.name})</a> + <a href="/api/authentication/log-out">Log out from AniList ({currentUserIdentity.name})</a> {/if} <p /> diff --git a/src/routes/api/anilist-increment/+server.ts b/src/routes/api/anilist/increment/+server.ts index 4680236b..4680236b 100644 --- a/src/routes/api/anilist-increment/+server.ts +++ b/src/routes/api/anilist/increment/+server.ts diff --git a/src/routes/api/authentication-log-out/+server.ts b/src/routes/api/authentication/log-out/+server.ts index 22ef49d8..22ef49d8 100644 --- a/src/routes/api/authentication-log-out/+server.ts +++ b/src/routes/api/authentication/log-out/+server.ts |