https
This commit is contained in:
@ -10,7 +10,7 @@ export class AuthService {
|
||||
) {}
|
||||
|
||||
async checkRequest(request: Request): Promise<Token> {
|
||||
const {data} = await this.http.post('http://api.auth.vigdorov.ru/auth/check', {
|
||||
const {data} = await this.http.post('https://api.auth.vigdorov.ru/auth/check', {
|
||||
access_token: request.headers.authorization,
|
||||
agent: request.headers['user-agent']
|
||||
}).toPromise();
|
||||
|
||||
Reference in New Issue
Block a user