Exclude wildcard resources

This commit is contained in:
Owen
2026-04-25 15:51:39 -07:00
parent 7c7d1f641e
commit bf1870608b
3 changed files with 18 additions and 17 deletions

View File

@@ -143,6 +143,7 @@ export type ResourceWithTargets = {
domainId: string | null;
niceId: string;
headerAuthId: number | null;
wildcard: boolean;
targets: Array<{
targetId: number;
ip: string;
@@ -176,6 +177,7 @@ function queryResourcesBase() {
enabled: resources.enabled,
domainId: resources.domainId,
niceId: resources.niceId,
wildcard: resources.wildcard,
headerAuthId: resourceHeaderAuth.headerAuthId,
headerAuthExtendedCompatibilityId:
resourceHeaderAuthExtendedCompatibility.headerAuthExtendedCompatibilityId,
@@ -456,6 +458,7 @@ export async function listResources(
http: row.http,
protocol: row.protocol,
proxyPort: row.proxyPort,
wildcard: row.wildcard,
enabled: row.enabled,
domainId: row.domainId,
headerAuthId: row.headerAuthId,