diff --git a/package.json b/package.json index 14c988bd..4bec43aa 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "homepage": "http://spectralitree.github.io/pk-webs", + "homepage": "https://pk-webs.spectralitree.com", "name": "pk-web", "version": "0.1.0", "private": true, diff --git a/public/404.html b/public/404.html index 055bf006..fb3f2dbb 100644 --- a/public/404.html +++ b/public/404.html @@ -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( diff --git a/src/App.js b/src/App.js index 6f37f300..076c27b9 100644 --- a/src/App.js +++ b/src/App.js @@ -25,25 +25,25 @@ export default function App() { return (
- +
- - { !localStorage.getItem('token') || isInvalid ? : + + { !localStorage.getItem('token') || isInvalid ? : } - + - + - + - +