mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 23:02:59 +03:00
[PR #481] [MERGED] refactor: do not force redirects to happen on the server #783
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/481
Author: @ItalyPaleAle
Created: 4/24/2025
Status: ✅ Merged
Merged: 4/24/2025
Merged by: @stonith404
Base:
main← Head:sveltekit-client-1📝 Commits (1)
eca7915Do not force redirects to happen on the server📊 Changes
10 files changed (+31 additions, -26 deletions)
View changed files
📝
frontend/.prettierignore(+4 -0)📝
frontend/src/hooks.server.ts(+6 -8)➖
frontend/src/routes/+page.server.ts(+0 -6)➕
frontend/src/routes/+page.ts(+6 -0)📝
frontend/src/routes/lc/+page.ts(+2 -1)📝
frontend/src/routes/lc/[code]/+page.ts(+2 -1)📝
frontend/src/routes/login/alternative/code/+page.ts(+2 -2)➖
frontend/src/routes/login/alternative/email/+page.server.ts(+0 -7)➕
frontend/src/routes/login/alternative/email/+page.ts(+7 -0)📝
frontend/src/routes/settings/+page.ts(+2 -1)📄 Description
Small refactor on the frontend: do not force redirects to happen on the server with
+page.server.ts; use+page.tsinstead, as they can happen on the client too🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.