Skip to content

Commit

Permalink
Fix github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
nsfm committed Nov 15, 2023
1 parent bbc70d2 commit 1ede9e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webhid_example/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 = 2;
var pathSegmentsToKeep = 1;

var l = window.location;
l.replace(
Expand Down
4 changes: 2 additions & 2 deletions webhid_example/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="dualsense-ts/%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="dualsense-ts/%PUBLIC_URL%/manifest.json" />
<!-- Start Single Page Apps for GitHub Pages -->
<script type="text/javascript">
// Single Page Apps for GitHub Pages
Expand Down

0 comments on commit 1ede9e6

Please sign in to comment.