app screen routing - routes are no case insensitive
This commit is contained in:
parent
755349cc81
commit
9ee36ef2c0
|
@ -28,7 +28,9 @@ export const screenRouter = ({ screens, onScreenSelected, window }) => {
|
|||
function route(url) {
|
||||
const _url = makeRootedPath(url.state || url)
|
||||
current = routes.findIndex(
|
||||
p => p !== "*" && new RegExp("^" + p + "$").test(_url)
|
||||
p =>
|
||||
p !== "*" &&
|
||||
new RegExp("^" + p.toLowerCase() + "$").test(_url.toLowerCase())
|
||||
)
|
||||
|
||||
const params = {}
|
||||
|
|
Loading…
Reference in New Issue