1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 09:58:13 +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,5 +1,5 @@
import { NowResponse } from '@vercel/node';
import nodeFetch, { Response } from 'node-fetch';
import nodeFetch from 'isomorphic-unfetch';
export type HttpMethod =
| 'GET'