diff --git a/src/components/AuthPageSettings.tsx b/src/components/AuthPageSettings.tsx index d6375c7b5..a76f13232 100644 --- a/src/components/AuthPageSettings.tsx +++ b/src/components/AuthPageSettings.tsx @@ -399,7 +399,7 @@ function AuthPageSettings({ )} - {build !== "oss" && (build === "enterprise" || + {(build === "enterprise" || !isPaidUser( tierMatrix.loginPageDomain )) && diff --git a/src/components/PrivateResourceInfoBox.tsx b/src/components/PrivateResourceInfoBox.tsx index 90ade3334..a7add3e36 100644 --- a/src/components/PrivateResourceInfoBox.tsx +++ b/src/components/PrivateResourceInfoBox.tsx @@ -18,7 +18,6 @@ import { type LauncherAccessFields } from "@app/lib/launcherResourceAccess"; import type { PrivateResourceMode } from "@app/lib/privateResourceForm"; -import { build } from "@server/build"; import { useTranslations } from "next-intl"; type SiteResourceInfoInput = { @@ -121,8 +120,7 @@ export function PrivateResourceInfoSections({ (siteResource.mode === "http" || siteResource.mode === "inference") && siteResource.ssl && siteResource.domainId && - siteResource.fullDomain && - build != "oss" + siteResource.fullDomain ); const showPortRestrictions = isPanel && diff --git a/src/components/PrivateResourcesTable.tsx b/src/components/PrivateResourcesTable.tsx index bc77fbc38..d15d53205 100644 --- a/src/components/PrivateResourcesTable.tsx +++ b/src/components/PrivateResourcesTable.tsx @@ -429,7 +429,6 @@ export default function PrivateResourcesTable({ const fullDomain = resourceRow.fullDomain; const url = `${resourceRow.ssl ? "https" : "http"}://${fullDomain}`; const did = - build !== "oss" && resourceRow.ssl && domainId != null && domainId !== "" && diff --git a/src/components/PublicResourcesTable.tsx b/src/components/PublicResourcesTable.tsx index af89b878b..a7cdc9e2b 100644 --- a/src/components/PublicResourcesTable.tsx +++ b/src/components/PublicResourcesTable.tsx @@ -468,7 +468,6 @@ export default function PublicResourcesTable({ const domainId = resourceRow.domainId; const certHostname = resourceRow.fullDomain; const showHttpsCertIndicator = - build !== "oss" && resourceRow.ssl && certHostname != null && certHostname !== ""; diff --git a/src/components/ResourceInfoBox.tsx b/src/components/ResourceInfoBox.tsx index 3ce7ced79..4480b959a 100644 --- a/src/components/ResourceInfoBox.tsx +++ b/src/components/ResourceInfoBox.tsx @@ -40,8 +40,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) { const showCertificate = !!( isDomainResource && resource.domainId && - resource.fullDomain && - build != "oss" + resource.fullDomain ); const showType = !!(isDomainResource && resource.mode); const showAuth = resource.mode !== "inference";