From 86b57dcbd0b4368a5ca9edb0f5c0fa9fab4de07b Mon Sep 17 00:00:00 2001 From: Spectralitree <72747870+Spectralitree@users.noreply.github.com> Date: Sat, 31 Jul 2021 13:03:29 +0200 Subject: [PATCH] switch to a new domain name --- package.json | 2 +- public/404.html | 2 +- src/App.js | 14 +++++++------- src/Components/Footer.js | 2 +- src/Components/Navbar.js | 12 ++++++------ src/Components/Private/MemberCard.js | 2 +- src/Components/Private/MemberPage.js | 6 +++--- src/Components/Private/System.js | 4 ++-- src/Components/Public/Profile.js | 2 +- src/Components/Public/ProfileCard.js | 2 +- src/Components/Public/ProfileList.js | 2 +- src/Pages/Home.js | 4 ++-- src/index.js | 2 +- 13 files changed, 28 insertions(+), 28 deletions(-) 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 ? : } - + - + - + - +