From de0fc07b5edc32d0e0cc9aea29f766fac711d790 Mon Sep 17 00:00:00 2001 From: vigdorov Date: Sat, 24 Oct 2020 10:57:58 +0300 Subject: [PATCH] https --- src/auth/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();