mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
switch to a new domain name
This commit is contained in:
parent
2aafdec40b
commit
86b57dcbd0
13 changed files with 28 additions and 28 deletions
14
src/App.js
14
src/App.js
|
|
@ -25,25 +25,25 @@ export default function App() {
|
|||
|
||||
return (
|
||||
<div className={ `contents ${localStorage.getItem('opendyslexic') ? "opendyslexic" : ""}`}>
|
||||
<Router history={history} basename="/pk-webs">
|
||||
<Router history={history}>
|
||||
<Navbar forceUpdate={forceUpdate} setIsSubmit={setIsSubmit} />
|
||||
<div className="content">
|
||||
<BS.Container>
|
||||
<Switch>
|
||||
<Route path="/pk-webs/dash">
|
||||
{ !localStorage.getItem('token') || isInvalid ? <Redirect to="/pk-webs"/> : <Dash />
|
||||
<Route path="/dash">
|
||||
{ !localStorage.getItem('token') || isInvalid ? <Redirect to="/"/> : <Dash />
|
||||
}
|
||||
</Route>
|
||||
<Route exact path="/pk-webs">
|
||||
<Route exact path="/">
|
||||
<Home isLoading={isLoading} setIsLoading={setIsLoading} isSubmit={isSubmit} setIsSubmit={setIsSubmit} isInvalid={isInvalid} setIsInvalid={setIsInvalid}/>
|
||||
</Route>
|
||||
<Route path="/pk-webs/profile">
|
||||
<Route path="/profile">
|
||||
<Public />
|
||||
</Route>
|
||||
<Route path="/pk-webs/settings">
|
||||
<Route path="/settings">
|
||||
<Settings forceUpdate={forceUpdate}/>
|
||||
</Route>
|
||||
<Route path="/pk-webs/template">
|
||||
<Route path="/template">
|
||||
<Template/>
|
||||
</Route>
|
||||
</Switch>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue