We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e8b3a commit 98b9056Copy full SHA for 98b9056
server/web-preview.go
@@ -331,7 +331,7 @@ func (serv *UploadServer) handleWebPreview(c *gin.Context) {
331
332
// Still no html send an error to the parent
333
if item.html == "" {
334
- item.html = "<script>window.parent.postMessage({ error: true }, '*');</script>"
+ item.html = "<script>window.parent.postMessage({ error: 'not_supported' }, '*');</script>"
335
}
336
337
// Decrease the waitgroup so other requests can complete
0 commit comments