fix: fetch failed with http/2 and undici v8

This commit is contained in:
Meier Lukas committed 2026-04-10 23:27:21 +02:00
1 parent 845f11526e
commit 7ff38d54c8
1 file changed
+5 -1
@@ -15,7 +15,11 @@ export class UndiciHttpAgent extends EnvHttpProxyAgent {
private logger: ILogger;
constructor(props?: HttpAgentOptions) {
super(props);
super({
...props,
// See https://github.com/homarr-labs/homarr/issues/5467#issuecomment-4226844346
allowH2: false,
});
this.logger = props?.logger ?? createLogger({ module: "httpAgent" });
}