1
0
Fork 0
mirror of synced 2024-09-29 08:41:16 +13:00

Fix screen renaming when same route already exists

This commit is contained in:
Andrew Kingston 2022-03-08 14:14:57 +00:00
parent fe95844569
commit 2b19986550
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"baseUrl": "http://localhost:4100",
"video": false,
"video": true,
"projectId": "bmbemn",
"env": {
"PORT": "4100",

View file

@ -93,7 +93,7 @@
return `/${url}-${suffix}`
} else {
const split = url.split("/")
return `/${split[0]}-${suffix}/${split.join("/")}`
return `/${split[0]}-${suffix}/${split.slice(1).join("/")}`
}
}