Skip to content

Commit

Permalink
再次更换 CDN,确认问题为 CDN 没有返回正确的 wasm content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Dec 15, 2023
1 parent 314cb50 commit 56fe83d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@canvaskit-map/core": "^0.2.0",
"@canvaskit-map/react": "^0.2.0",
"@heroicons/react": "^2.0.18",
"canvaskit-wasm": "^0.38.2",
"canvaskit-wasm": "^0.39.1",
"classnames": "^2.3.2",
"fflate": "^0.8.1",
"google-protobuf": "^3.21.2",
Expand Down
2 changes: 1 addition & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function init() {
),
initCanvaskit({
locateFile() {
return "https://cdn.bootcdn.net/ajax/libs/canvaskit-wasm/0.38.2/canvaskit.wasm";
return "https://libs.cdnjs.net/canvaskit-wasm/0.39.1/canvaskit.wasm";
},
}),
]);
Expand Down

0 comments on commit 56fe83d

Please sign in to comment.