How to customize url or slug for workspace?

Why do I need to customize the URL? Because I have a doctype with the same name. Let’s say I have a doctype called ‘Product’ and I want to add a workspace with the same name. However, I get an error message saying, ‘Doctype with the same route already exists. Please choose a different title.’ How do I rename the URL or slug for a workspace?

I endup extend the workspace.js to set manually the route and name. it works!