You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to fix#2296 and support to get wasm file through http protocol (#2297)
* Update mod.rs
* Update mod.rs
* Support http protocol to obtain wasm file remotely
* Another stupid mistake...
* Fix errors caused by `{}`
* `bg` is missing
* RealPathSync cannot be used to get the parent directory of file under linux, so substring and lastIndexOf will be used to get the parent directory under linux
* Missing readFileSync
* Use asynchronous functions instead of synchronous functions.
* Change `includes` to switch-case. And change the synchronous file operation to asynchronous.
* Change to @RReverser suggestion.
* throw a proper Error instance
Co-authored-by: Ingvar Stepanyan <[email protected]>
* Reuse url instance
Co-authored-by: Ingvar Stepanyan <[email protected]>
* Use URL instead of previous backward writing.
* reuse unnecessary code.
Co-authored-by: Ingvar Stepanyan <[email protected]>
0 commit comments