Skip to content

Commit 377a30e

Browse files
author
Pooya Parsa
committed
fix(module): pushStateRoot for history mode
1 parent 32bbded commit 377a30e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = function nuxt7 (moduleOptions) {
3232
// mode
3333
if (options.mode === 'history') {
3434
options.view.pushStateSeparator = '__window.location.origin ? \'\' : \'#\'__'
35-
options.pushState = '__window.location.origin__'
35+
options.view.pushStateRoot = '__window.location.origin__'
3636
}
3737
delete options.mode
3838

0 commit comments

Comments
 (0)