Skip to content

Commit

Permalink
use note-fetch instead cross-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiram committed Apr 9, 2024
1 parent 7f75a44 commit 7171e97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/core/server/routes/drive/alist.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import _ from 'lodash';

import fetch from 'cross-fetch';
import fetch from 'node-fetch';

import { findBestLCS } from './similarity';

Expand Down
3 changes: 1 addition & 2 deletions src/main/core/server/routes/site/hot.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// import fetch from 'node-fetch';
import fetch from 'cross-fetch';
import fetch from 'node-fetch';
import _ from 'lodash';

import logger from '../../../logger';
Expand Down

0 comments on commit 7171e97

Please sign in to comment.