From dd2fd189dc36f05cbc2a4ad53ff6ab14c490e4c4 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sat, 24 Feb 2024 02:42:35 +0000 Subject: [PATCH] Fixed replace all incident. --- src/mami.js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mami.js/main.js b/src/mami.js/main.js index 587a2d7..1226aee 100644 --- a/src/mami.js/main.js +++ b/src/mami.js/main.js @@ -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, '');