Поправил хэдер аутентификации
This commit is contained in:
parent
4a3a8c430c
commit
993caaea23
@ -3,7 +3,7 @@ import { RequestHandler, RequestInterface } from '@/api/HttpClient'
|
||||
export class TokenRequestHandler extends RequestHandler {
|
||||
handle = (request: RequestInterface): void => {
|
||||
request.headers = request.headers || {}
|
||||
request.headers['x-token'] = 'GxwGRM'
|
||||
request.headers['x-plugin-token'] = 'GxwGRM'
|
||||
console.log(request, 'DeviceIdHandler')
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user