mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
* fix: keep showing migration success page after creating migration file After creating a node migration file the hub is halted and the Alby OAuth token is intentionally removed, so visiting the homepage sent the user through /start into the Alby OAuth flow. Track the halted state in memory and redirect back to the migration success page instead. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix: synchronize migration flag access and propagate zip close error Make nodeMigrationFileCreated an atomic.Bool since it is written by CreateBackup and read by GetInfo on concurrent HTTP handler goroutines, and finalize the migration archive explicitly so a failed zip close returns an error instead of reporting a corrupt backup as success. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix: return minimal info response after migration file is created Once a migration file is created the hub is halted and the database is closed. GetInfo previously only worked because every config key it reads happened to be served from the config cache; any cache miss on an error-propagating read would fail /api/info. Return early with a minimal response instead so the migration success page does not depend on cache state. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .husky | ||
| platform_specific | ||
| public | ||
| src | ||
| .env.local.example | ||
| .prettierignore | ||
| .prettierrc | ||
| commitlint.config.js | ||
| components.json | ||
| eslint.config.mjs | ||
| frontend.go | ||
| index.html | ||
| lint-staged.config.js | ||
| package.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| yarn.lock | ||