Run linter.
This commit is contained in:
parent
abee04b58a
commit
f88781bb7e
@ -20,7 +20,10 @@ export class HttpConfigInterceptor implements HttpInterceptor {
|
|||||||
* @returns The forwarded request.
|
* @returns The forwarded request.
|
||||||
*/
|
*/
|
||||||
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> {
|
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> {
|
||||||
if (request.url.startsWith(environment.cicMetaUrl) || request.url.startsWith(environment.cicUssdUrl)) {
|
if (
|
||||||
|
request.url.startsWith(environment.cicMetaUrl) ||
|
||||||
|
request.url.startsWith(environment.cicUssdUrl)
|
||||||
|
) {
|
||||||
const token: string = sessionStorage.getItem(btoa('CICADA_SESSION_TOKEN'));
|
const token: string = sessionStorage.getItem(btoa('CICADA_SESSION_TOKEN'));
|
||||||
|
|
||||||
if (token) {
|
if (token) {
|
||||||
|
Loading…
Reference in New Issue
Block a user