mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
[PR #2927] [MERGED] fix: tolerant no write permission for copy favicon to static dir #7927
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/2927
Author: @arkohut
Created: 6/8/2024
Status: ✅ Merged
Merged: 6/8/2024
Merged by: @tjbck
Base:
dev← Head:tolerant-no-write-permission-for-static-dir📝 Commits (1)
d3558fdfix: tolerant no write permission for copy favicon to static dir📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
backend/config.py(+4 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
The copy of
faviconmay fail when static dir in a read only file system (which may happened in such env which make the deploy files unwritable). I add a try catch to prevent the error to make the whole process break.Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.