mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-23 07:14:21 +00:00
🔧 Change the login route to l/logged-in
This commit is contained in:
parent
64f9cd6a7c
commit
7a28a6aae9
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ export function AuthorizationLogoutBox(): JSX.Element {
|
||||||
</p>
|
</p>
|
||||||
<Form>
|
<Form>
|
||||||
<Form.Row>
|
<Form.Row>
|
||||||
<Form.Button onClick={() => navigate("l/")}>
|
<Form.Button onClick={() => navigate("l/logged-in/")}>
|
||||||
Continue to Sophon
|
Continue to Sophon
|
||||||
</Form.Button>
|
</Form.Button>
|
||||||
</Form.Row>
|
</Form.Row>
|
||||||
|
|
|
@ -59,7 +59,7 @@ export function parsePath(path: string): ParsedPath {
|
||||||
result.researchGroup = path.match(/[/]g[/]([A-Za-z0-9_-]+)/)?.[1]
|
result.researchGroup = path.match(/[/]g[/]([A-Za-z0-9_-]+)/)?.[1]
|
||||||
result.researchProject = path.match(/[/]p[/]([A-Za-z0-9_-]+)/)?.[1]
|
result.researchProject = path.match(/[/]p[/]([A-Za-z0-9_-]+)/)?.[1]
|
||||||
result.notebook = path.match(/[/]n[/]([A-Za-z0-9_-]+)/)?.[1]
|
result.notebook = path.match(/[/]n[/]([A-Za-z0-9_-]+)/)?.[1]
|
||||||
result.loggedIn = Boolean(path.match(/[/]l[/]/))
|
result.loggedIn = Boolean(path.match(/[/]l[/]logged-in/))
|
||||||
|
|
||||||
if(result.instance) {
|
if(result.instance) {
|
||||||
result.count += 1
|
result.count += 1
|
||||||
|
|
Loading…
Reference in a new issue