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())
|
.fileUrl(file.getUrl())
|
||||||
.hostViewUrl(hostUrl)
|
.hostViewUrl(hostUrl)
|
||||||
.hostEditUrl(hostUrl)
|
.hostEditUrl(hostUrl)
|
||||||
.postMessageOrigin("http://localhost")
|
.postMessageOrigin("*")
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user