Skip to content

Commit

Permalink
fix: remove proxy agent
Browse files Browse the repository at this point in the history
  • Loading branch information
enpitsuLin committed Dec 1, 2024
1 parent 5e41364 commit 1e6a3e6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/api/skland.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { createFetch } from 'ofetch'
import { ProxyAgent } from 'proxy-agent'
import type { AttendanceResponse, BindingResponse, CredResponse, GetAttendanceResponse, SklandBoard } from '../types'
import { command_header, getDid, onSignatureRequest } from '../utils'
import { SKLAND_BOARD_IDS } from '../constant'
Expand All @@ -8,8 +7,6 @@ const fetch = createFetch({
defaults: {
baseURL: 'https://zonai.skland.com',
onRequest: onSignatureRequest,
// @ts-expect-error ignore
agent: new ProxyAgent(),
},
})

Expand Down

0 comments on commit 1e6a3e6

Please sign in to comment.