Skip to content

Commit

Permalink
Change pathSegmentsToKeep to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb committed Jan 15, 2024
1 parent 7d2950f commit 8b43901
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
}
})(window.location);
</script>
<base href="https://yorkie.dev/codepair-poc/" />
<!-- End Single Page Apps for GitHub Pages -->
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion frontend/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/?/one/two&a=b~and~c=d#qwe
// Otherwise, leave pathSegmentsToKeep as 0.
var pathSegmentsToKeep = 0;
var pathSegmentsToKeep = 1;

var l = window.location;
l.replace(
Expand Down

0 comments on commit 8b43901

Please sign in to comment.