Skip to content

Commit

Permalink
Waiting dotnet/runtime#69441 patch...
Browse files Browse the repository at this point in the history
Until then, replace `else t=r.name;` in dotnet.js with `else t=locateFile(r.name);`
  • Loading branch information
yamachu committed May 17, 2022
1 parent a0d3e03 commit 206f71e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HttpTrigger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const httpTrigger: AzureFunction = async function (
context.log("HTTP trigger function processed a request.");
// FIXME: wasm-tools SDK 7.0.100-preview.4 is not worked...
// MONO_WASM: Error in mono_download_assets: Error: MONO_WASM: Fetch 'supportFiles/0_runtimeconfig.bin' for supportFiles/0_runtimeconfig.bin failed
// But, using https://github.com/dotnet/runtime/pull/69441 patch, it would work
const { BINDING } = await createDotnetRuntime({
configSrc: resolve(__dirname, "../AppBundle/mono-config.json"),
});
Expand Down

0 comments on commit 206f71e

Please sign in to comment.