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("/")}`
}
}