Skip to content

Commit

Permalink
fix: use remoteEntry as fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
2heal1 committed May 16, 2024
1 parent 1154482 commit 6a92bc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/runtime/src/plugins/snapshot/SnapshotHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ export class SnapshotHandler {
if (isManifestProvider(globalRemoteSnapshot)) {
const remoteEntry = isBrowserEnv()
? globalRemoteSnapshot.remoteEntry
: globalRemoteSnapshot.ssrRemoteEntry || '';
: globalRemoteSnapshot.ssrRemoteEntry ||
globalRemoteSnapshot.remoteEntry ||
'';
const moduleSnapshot = await this.getManifestJson(
remoteEntry,
moduleInfo,
Expand Down

0 comments on commit 6a92bc2

Please sign in to comment.