Skip to content

Commit

Permalink
Try fixing infinite redirect bug
Browse files Browse the repository at this point in the history
Sets segmentCount = 0 in 404.html
  • Loading branch information
vgrichina committed May 23, 2019
1 parent 22df635 commit 18f3f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
// https://username.github.io/repo-name/?p=/one/two&q=a=b~and~c=d#qwe
// Otherwise, leave segmentCount as 0.
var segmentCount = 1
var segmentCount = 0
var l = window.location
l.replace(
l.protocol +
Expand Down

0 comments on commit 18f3f04

Please sign in to comment.