Skip to content

Commit

Permalink
update auth hostname (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterhop authored Jul 9, 2024
1 parent 8181e72 commit a90c238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getConfigDir, Config } from './config'
async function exchange (exchangeToken: string): Promise<Config> {
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',
Expand Down Expand Up @@ -43,7 +43,7 @@ export async function refresh (config: Config): Promise<Config> {

return await new Promise<Config>((resolve, reject) => {
const req = request({
hostname: 'auth-production.poki.io',
hostname: 'auth.poki.io',
port: 443,
path: '/auth/refresh',
method: 'POST',
Expand Down

0 comments on commit a90c238

Please sign in to comment.