Fixed replace all incident.

This commit is contained in:
Pachira 2024-02-24 02:42:35 +00:00
parent a3c8015b4b
commit dd2fd189dc

View file

@ -454,7 +454,7 @@ window.Umi = { UI: {}, Protocol: { SockChat: { Protocol: {} } } };
insertText = `[video]${fileInfo.url}[/video]`;
uploadEntry.setThumbnail(fileInfo.thumb);
} else
insertText = location.Umi.Servercol + fileInfo.url;
insertText = location.protocol + fileInfo.url;
if(settings.get('eepromAutoInsert'))
Umi.UI.Markup.InsertRaw(insertText, '');