This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import { FastifyInstance } from 'fastify/types/instance';
|
||||
import { ProxyAgent, setGlobalDispatcher } from 'undici';
|
||||
//import { ProxyAgent, setGlobalDispatcher } from 'undici';
|
||||
|
||||
import { flight_get_data } from './api_flight'
|
||||
import { nominatim_get_data } from './api_nominatim';
|
||||
|
||||
setGlobalDispatcher(new ProxyAgent(process.env.HTTPS_PROXY as string));
|
||||
//setGlobalDispatcher(new ProxyAgent(process.env.HTTPS_PROXY as string));
|
||||
|
||||
|
||||
export default function (server, opts, done) {
|
||||
|
Reference in New Issue
Block a user