mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 10:40:07 +08:00
fix: Corrected image mime type in IPC message.
- Corrected image mime type in IPC message.
This commit is contained in:
parent
0337c6649b
commit
9268ab845e
@ -46,7 +46,7 @@ export function registerIpc(mainWindow: BrowserWindow, app: Electron.App) {
|
||||
return {
|
||||
mime,
|
||||
base64,
|
||||
data: `data:image/${mime};base64,${base64}`
|
||||
data: `data:${mime};base64,${base64}`
|
||||
}
|
||||
} catch (error) {
|
||||
Logger.error('Error reading file:', error)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user