mirror of
https://github.com/ajnart/homarr.git
synced 2026-05-06 07:47:23 +02:00
refactor(http): move to core package (#4690)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { setGlobalDispatcher } from "undici";
|
||||
|
||||
import { LoggingAgent } from "@homarr/common/server";
|
||||
import { UndiciHttpAgent } from "@homarr/core/infrastructure/http";
|
||||
|
||||
const agent = new LoggingAgent();
|
||||
setGlobalDispatcher(agent);
|
||||
setGlobalDispatcher(new UndiciHttpAgent());
|
||||
|
||||
Reference in New Issue
Block a user