Skip to content

Commit

Permalink
Fix: Skip using Brotli compression for dotnet.wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
mingyaulee committed Feb 23, 2023
1 parent b8ac059 commit 95d617c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Blazor.BrowserExtension/content/dist/CoreInternal.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class BrowserExtension {
}

_loadBootResource(resourceType, resourceName, defaultUri, _integrity) {
if (resourceType === "dotnetjs" || resourceType === "manifest") {
if (resourceType === "dotnetjs" || resourceType == "dotnetwasm" || resourceType === "manifest") {
return `${this.Url}framework/${resourceName}`;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default class BrowserExtension {
* @param {any} _integrity
*/
_loadBootResource(resourceType, resourceName, defaultUri, _integrity) {
if (resourceType === "dotnetjs" || resourceType === "manifest") {
if (resourceType === "dotnetjs" || resourceType == "dotnetwasm" || resourceType === "manifest") {
return `${this.Url}framework/${resourceName}`;
}

Expand Down

0 comments on commit 95d617c

Please sign in to comment.