From a90c238456d761ad0960f975c23c9269d5e623dc Mon Sep 17 00:00:00 2001 From: Pieter Hoppenbrouwers Date: Tue, 9 Jul 2024 16:07:10 +0200 Subject: [PATCH] update auth hostname (#18) --- src/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auth.ts b/src/auth.ts index 0bc6d3b..3030b90 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -10,7 +10,7 @@ import { getConfigDir, Config } from './config' async function exchange (exchangeToken: string): Promise { return await new Promise((resolve, reject) => { const req = request({ - hostname: 'auth-production.poki.io', + hostname: 'auth.poki.io', port: 443, path: '/auth/exchange', method: 'POST', @@ -43,7 +43,7 @@ export async function refresh (config: Config): Promise { return await new Promise((resolve, reject) => { const req = request({ - hostname: 'auth-production.poki.io', + hostname: 'auth.poki.io', port: 443, path: '/auth/refresh', method: 'POST',