Skip to content

Commit

Permalink
feat: wasm add upload file
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer committed Jul 15, 2023
1 parent 4174b33 commit f6c9ab8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wasm/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,6 @@ func registerFunc() {

wrapperThird := wasm_wrapper.NewWrapperThird(globalFuc)
js.Global().Set("updateFcmToken", js.FuncOf(wrapperThird.UpdateFcmToken))
js.Global().Set("uploadFile", js.FuncOf(wrapperThird.UploadFile))

}

0 comments on commit f6c9ab8

Please sign in to comment.