Skip to content

Commit

Permalink
Merge pull request #1463 from 0chain/hotfix/obj-mime
Browse files Browse the repository at this point in the history
set object mimetype
  • Loading branch information
dabasov authored Apr 10, 2024
2 parents 324ba50 + 6e597b3 commit 5e6684d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasmsdk/statusbar.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (s *StatusBar) Completed(allocationID, filePath string, filename string, mi
if s.localPath != "" {
fs, _ := sys.Files.Open(s.localPath)
mf, _ := fs.(*sys.MemFile)
s.objURL = CreateObjectURL(mf.Buffer, "application/octet-stream")
s.objURL = CreateObjectURL(mf.Buffer, mimetype)
}
if s.callback != nil {
jsCallbackMutex.Lock()
Expand Down

0 comments on commit 5e6684d

Please sign in to comment.