fix: post message error

This commit is contained in:
zzs 2025-03-24 09:31:36 +08:00
parent 8bec5eb643
commit 1580a214e8

View File

@ -76,7 +76,7 @@ public class FilePreviewServiceImpl implements FilePreviewService {
.fileUrl(file.getUrl())
.hostViewUrl(hostUrl)
.hostEditUrl(hostUrl)
.postMessageOrigin("http://localhost")
.postMessageOrigin("*")
.build();
}