fix(homepage): check allowlisted private service reachability (#1479)

* fix(homepage): check allowlisted private service reachability

* test(css): exercise the configured PostCSS plugin chain
This commit is contained in:
ZacharyZcR authored and GitHub committed 2026-09-27 00:11:41 -05:00
1 parent 3b9a1bacf0
commit 2824b49ba9
11 files changed
+232 -10

No files matched your search

+2 -2
View File
@@ -222,7 +222,7 @@ export async function safeOutboundFetch(
return (await undiciFetch(url.toString(), {
...options,
dispatcher: proxy as unknown as Dispatcher,
redirect: "error",
redirect: options.redirect === "manual" ? "manual" : "error",
} as never)) as unknown as Response;
}
@@ -240,7 +240,7 @@ export async function safeOutboundFetch(
const response = await undiciFetch(url.toString(), {
...options,
dispatcher,
redirect: "error",
redirect: options.redirect === "manual" ? "manual" : "error",
});
// close() waits for the body, which the caller reads after we return.
dispatcher.close().catch(() => {});