mirror of
				https://github.com/vastxie/99AI.git
				synced 2025-11-04 15:53:43 +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:
		@@ -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()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user