1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 18:08:11 +09:00

refactor: remove node-fetch

This commit is contained in:
2020-09-10 04:23:19 +09:00
parent 5259a21fe1
commit 52c16f4093
4 changed files with 407 additions and 339 deletions

View File

@@ -1,6 +1,6 @@
import { send, sendError } from '../../../util/http';
import { NowRequest, NowResponse } from '@vercel/node';
import nodeFetch from 'node-fetch';
import nodeFetch from 'isomorphic-unfetch';
export default async function handler(
req: NowRequest,