Skip to content

Commit 7d3d90d

Browse files
committed
Change dynamic fetch fallback for now
1 parent 9d25079 commit 7d3d90d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/eval/npm/fetch-npm-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const getFetchProtocol = (depVersion: string, useFallback = false) => {
164164
return urlProtocols.jsDelivrGH;
165165
}
166166

167-
return useFallback ? urlProtocols.jsDelivrNPM : urlProtocols.unpkg;
167+
return useFallback ? urlProtocols.unpkg : urlProtocols.jsDelivrNPM;
168168
};
169169

170170
// Strips the version of a path, eg. test/1.3.0 -> test

0 commit comments

Comments
 (0)