fix: post message error
This commit is contained in:
parent
8bec5eb643
commit
1580a214e8
@ -76,7 +76,7 @@ public class FilePreviewServiceImpl implements FilePreviewService {
|
||||
.fileUrl(file.getUrl())
|
||||
.hostViewUrl(hostUrl)
|
||||
.hostEditUrl(hostUrl)
|
||||
.postMessageOrigin("http://localhost")
|
||||
.postMessageOrigin("*")
|
||||
.build();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user