Fix screen renaming when same route already exists
This commit is contained in:
parent
fe95844569
commit
2b19986550
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"baseUrl": "http://localhost:4100",
|
||||
"video": false,
|
||||
"video": true,
|
||||
"projectId": "bmbemn",
|
||||
"env": {
|
||||
"PORT": "4100",
|
||||
|
|
|
@ -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("/")}`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue