fix: match public routes with the public routes on prod
This commit is contained in:
parent
2579875c6a
commit
6197bf03cc
@ -45,7 +45,7 @@
|
||||
<Route path="/"><Home /></Route>
|
||||
<Route path="dash"><Dash /></Route>
|
||||
<Route path="settings"><Settings /></Route>
|
||||
<Route path="public/*">
|
||||
<Route path="profile/*">
|
||||
<Route path="/"><Public /></Route>
|
||||
<Route path = "s/:id">
|
||||
<System />
|
||||
|
@ -54,7 +54,7 @@ import { get } from 'svelte/store';
|
||||
<NavLink href="/templates">Templates</NavLink>
|
||||
</NavItem>
|
||||
<NavItem>
|
||||
<NavLink href="/public">Public</NavLink>
|
||||
<NavLink href="/profile">Public</NavLink>
|
||||
</NavItem>
|
||||
</Nav>
|
||||
</Collapse>
|
||||
|
@ -25,7 +25,7 @@
|
||||
</Col>
|
||||
<Col xs={12} lg={3} class="my-2 d-flex">
|
||||
{#if sysInput !== ""}
|
||||
<Link style="text-decoration: none; flex: 1 0 auto" to="/public/s/{sysInput.toLowerCase().trim()}"><Button class="w-100" color="primary">View</Button></Link>
|
||||
<Link style="text-decoration: none; flex: 1 0 auto" to="/profile/s/{sysInput.toLowerCase().trim()}"><Button class="w-100" color="primary">View</Button></Link>
|
||||
{:else}
|
||||
<Button class="w-100" disabled color="primary">View</Button>
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user