missing remove appl name
This commit is contained in:
parent
ae915b34a6
commit
a011492f50
@ -34,8 +34,10 @@ export class SSOService {
|
|||||||
if (pathName.startsWith("/sso/") || pathName.startsWith(environment.applName + "/sso/")) {
|
if (pathName.startsWith("/sso/") || pathName.startsWith(environment.applName + "/sso/")) {
|
||||||
return this.utf8_to_b64('home');
|
return this.utf8_to_b64('home');
|
||||||
}
|
}
|
||||||
if (pathName.startsWith(environment.applName + "/sso/")) {
|
if (pathName.startsWith(environment.applName + '/')) {
|
||||||
pathName = pathName.substring(environment.applName.length + 1);
|
pathName = pathName.substring(environment.applName.length+1);
|
||||||
|
} else if (pathName.startsWith(environment.applName)) {
|
||||||
|
pathName = pathName.substring(environment.applName.length);
|
||||||
}
|
}
|
||||||
return this.utf8_to_b64(pathName);
|
return this.utf8_to_b64(pathName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user