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, '');