remove duplicate slashes for auth token path
This commit is contained in:
parent
677287d3e2
commit
99d1a1efbd
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ export function getAuthTokenPath(path: string) {
|
|||
for (let r of protectedRoutes) {
|
||||
r = r.toLowerCase().replace(/\/$/, '') + '/'
|
||||
if (path.startsWith(r)) {
|
||||
authTokenPath = `${r}/.password`
|
||||
authTokenPath = `${r}.password`
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue