feat: polish release v2 experience (#6800)

This commit is contained in:
Thomas authored and GitHub committed 2026-09-07 19:17:37 +02:00
1 parent 925b0fb801
commit a4a903d7c3
295 files changed
+10627 -7115

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import { createHmac, hkdfSync } from "node:crypto";
import { createId } from "@homarr/common";
import { createId, formatBytes } from "@homarr/common";
import { env } from "@homarr/common/env";
import { decryptSecret, encryptSecret } from "@homarr/common/server";
import { fetchWithTrustedCertificatesAsync } from "@homarr/core/infrastructure/http";
@@ -100,7 +100,7 @@ export class ImageProxy {
url: this.redactUrl(urlAndHeaders.url),
headers: this.redactHeaders(urlAndHeaders.headers),
proxyUrl,
size: `${(arrayBuffer.byteLength / 1024).toFixed(1)}KB`,
size: formatBytes(arrayBuffer.byteLength),
});
return { image: arrayBuffer, contentType: response.headers.get("content-type") };