Aw4751 eslint fixes
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -21,8 +21,8 @@ export class AccessTokenInterceptor implements HttpInterceptor {
|
||||
}
|
||||
|
||||
hasAudience(url: string): boolean {
|
||||
let u = new URL(url,this.base);
|
||||
for (let audience of this.audience) {
|
||||
const u = new URL(url,this.base);
|
||||
for (const audience of this.audience) {
|
||||
if (u.href.startsWith(audience)) return true;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user