|
|
@ -3,7 +3,7 @@ import { RequestHandler, RequestInterface } from '@/api/HttpClient' |
|
|
|
export class TokenRequestHandler extends RequestHandler { |
|
|
|
export class TokenRequestHandler extends RequestHandler { |
|
|
|
handle = (request: RequestInterface): void => { |
|
|
|
handle = (request: RequestInterface): void => { |
|
|
|
request.headers = request.headers || {} |
|
|
|
request.headers = request.headers || {} |
|
|
|
request.headers['x-token'] = 'GxwGRM' |
|
|
|
request.headers['x-plugin-token'] = 'GxwGRM' |
|
|
|
console.log(request, 'DeviceIdHandler') |
|
|
|
console.log(request, 'DeviceIdHandler') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|