fix: fix #28
This commit is contained in:
1 parent
ed42b70537
commit
b0e9e898f1
4 files changed
+5
-5
No files matched your search
@@ -6,7 +6,7 @@ export function load({ params, url }) {
|
||||
if (Number(params.instance)) {
|
||||
const split = url.pathname.split('/')
|
||||
|
||||
split.splice(2, 0, `${get(instance)}`)
|
||||
split.splice(2, 0, `${get(instance)?.toLowerCase()}`)
|
||||
|
||||
const newUrl = new URL(url)
|
||||
newUrl.pathname = split.join('/')
|
||||
|
||||
Reference in new issue
Block a user