Skip to content

Commit 3215db0

Browse files
authored
[frontend] fix the incorrect public path assignment (#512)
1 parent ae35b37 commit 3215db0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

frontend/src/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ const render = (Component) => {
2626
</Suspense>
2727
);
2828
}
29-
if (window.singleSpaNavigate) {
30-
__webpack_public_path__ = '';
31-
} else {
29+
if (!window.singleSpaNavigate) {
3230
render(App);
3331
}
3432

0 commit comments

Comments
 (0)