diff --git a/README.md b/README.md
index f5f9749..2746e17 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,9 @@ Chrome 应用商店:'
@@ -366,11 +367,12 @@ function randDom(randomData){
for(var j=0;j < resourceList.length;j++){
var restype = resourceList[j].type.slice(0,5);
var resexlink = resourceList[j].externalLink
- var resLink = ''
+ var resLink = '',fileId=''
if(resexlink){
resLink = resexlink
}else{
- resLink = info.apiUrl.replace(/api\/memo.*/,'')+'o/r/'+resourceList[j].id+'/'+resourceList[j].filename
+ fileId = resourceList[j].publicId || resourceList[j].filename
+ resLink = info.apiUrl.replace(/api\/memo.*/,'')+'o/r/'+resourceList[j].id+'/'+fileId
}
if(restype == 'image'){
randomDom += '
'
diff --git a/manifest.json b/manifest.json
index 7310d86..f75c6f8 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "__MSG_extName__",
"default_locale": "zh_CN",
- "version": "2023.03.25",
+ "version": "2023.04.09",
"action": {
"default_popup": "popup.html",
"default_icon": "assets/logo_24x24.png",