6 lines
160 B
TypeScript
6 lines
160 B
TypeScript
import { setGlobalDispatcher } from "undici";
|
|
|
|
import { UndiciHttpAgent } from "@homarr/core/infrastructure/http";
|
|
|
|
setGlobalDispatcher(new UndiciHttpAgent());
|