10 lines
196 B
Svelte
10 lines
196 B
Svelte
|
<script>
|
||
|
const isAdmin = false
|
||
|
import { leftover, goto } from '@roxi/routify'
|
||
|
const [...fragments] = $leftover.split('/')
|
||
|
|
||
|
if(!isAdmin)
|
||
|
$goto('/error/401')
|
||
|
</script>
|
||
|
|
||
|
HELLO
|