Wip
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir
2025-02-27 00:55:37 +01:00
parent b7b87507e3
commit f1c702bc14
13 changed files with 1126 additions and 241 deletions

View File

@@ -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) {