diff --git a/src/auth/auth.service.ts b/src/auth/auth.service.ts index 725b4db..0f280d9 100644 --- a/src/auth/auth.service.ts +++ b/src/auth/auth.service.ts @@ -10,7 +10,7 @@ export class AuthService { ) {} async checkRequest(request: Request): Promise { - 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();