diff --git a/src/app/[orgId]/settings/resources/proxy/page.tsx b/src/app/[orgId]/settings/resources/proxy/page.tsx index 0bbc8aa66..b94c4daf5 100644 --- a/src/app/[orgId]/settings/resources/proxy/page.tsx +++ b/src/app/[orgId]/settings/resources/proxy/page.tsx @@ -55,7 +55,9 @@ export default async function ProxyResourcesPage( pagination = responseData.pagination; } catch (e) {} - const siteIdParam = parsePositiveInt(searchParams.get("siteId") ?? undefined); + const siteIdParam = parsePositiveInt( + searchParams.get("siteId") ?? undefined + ); let initialFilterSite: { siteId: number; @@ -122,6 +124,7 @@ export default async function ProxyResourcesPage( domainId: resource.domainId || undefined, fullDomain: resource.fullDomain ?? null, ssl: resource.ssl, + wildcard: resource.wildcard, targets: resource.targets?.map((target) => ({ targetId: target.targetId, ip: target.ip, diff --git a/src/components/ProxyResourcesTable.tsx b/src/components/ProxyResourcesTable.tsx index 813d232cc..98ddd8eb7 100644 --- a/src/components/ProxyResourcesTable.tsx +++ b/src/components/ProxyResourcesTable.tsx @@ -96,6 +96,7 @@ export type ResourceRow = { targets?: TargetHealth[]; health?: "healthy" | "degraded" | "unhealthy" | "unknown"; sites: ResourceSiteRow[]; + wildcard?: boolean; }; function StatusIcon({ @@ -570,10 +571,14 @@ export default function ProxyResourcesTable({ /> ) : null}
- + {!resourceRow.wildcard ? ( + + ) : ( + {resourceRow.domain} + )}
);