Skip to content

Commit

Permalink
Merge pull request #227 from Fraunhofer-AISEC/fix_spa_redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
taudor authored May 17, 2023
2 parents 5cb95bc + 4b9a7a1 commit 7de0b08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 = 1;
var pathSegmentsToKeep = 0;

var l = window.location;
l.replace(
Expand All @@ -37,4 +37,4 @@
</head>
<body>
</body>
</html>
</html>

0 comments on commit 7de0b08

Please sign in to comment.