Skip to content

Commit 65bb7e2

Browse files
authored
Update getFilenameFromUrl.js
order change
1 parent 5deca8e commit 65bb7e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/getFilenameFromUrl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ function getFilenameFromUrl(context, url) {
9696
}
9797

9898
if (
99+
options.historyApiFallback &&
99100
context.outputFileSystem.existsSync &&
100-
!context.outputFileSystem.existsSync(filename) &&
101-
options.historyApiFallback
101+
!context.outputFileSystem.existsSync(filename)
102102
) {
103103
filename = path.join(outputPath);
104104
}

0 commit comments

Comments
 (0)