mirror of
https://github.com/vastxie/99AI.git
synced 2025-09-17 09:16:38 +08:00
fix(online-search): Resolve 'fetch not defined' error via cross-fetch import
* Add cross-fetch dependency for network request compatibility
This commit is contained in:
parent
cc71f63eac
commit
cbebbfbd82
@ -1,5 +1,6 @@
|
||||
import { handleError } from '@/common/utils';
|
||||
import { Injectable, Logger } from '@nestjs/common';
|
||||
import fetch from 'cross-fetch';
|
||||
import { GlobalConfigService } from '../../globalConfig/globalConfig.service';
|
||||
|
||||
@Injectable()
|
||||
|
Loading…
Reference in New Issue
Block a user