mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #2236] [MERGED] fix: load i18n before showing error page #59793
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/open-webui/open-webui/pull/2236
Author: @akx
Created: 5/13/2024
Status: ✅ Merged
Merged: 5/13/2024
Merged by: @tjbck
Base:
dev← Head:error-page-fix📝 Commits (1)
df167d8fix: load i18n for /error page📊 Changes
2 files changed (+11 additions, -9 deletions)
View changed files
📝
src/lib/i18n/index.ts(+1 -1)📝
src/routes/+layout.svelte(+10 -8)📄 Description
Pull Request Checklist
devbranch.Description
This PR fixes the initial backend connectivity check to not leave the user looking at the splash screen if there's a network error, and that if there is a network error, some i18n strings are loaded, so the resulting error page doesn't look like:
Changelog Entry
Fixed
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.