feat(brand): route zoo.cloud through bootnode-web-zoo

- web/lib/brand.ts: detect zoo.cloud as zoo brand (alongside zoo.ngo, zoo.network)
- infra/k8s/ingress.yaml: add zoo.cloud + www.zoo.cloud as additional hosts on
  bootnode-zoo-ingress (TLS SAN via cert-manager, rules → bootnode-web-zoo:3001)

Makes zoo.cloud serve the same Bootnode platform as web3.zoo.ngo with Zoo brand.
This commit is contained in:
2026-04-29 15:37:15 -07:00
parent 0418ffb9fc
commit a15dc95b71
2 changed files with 23 additions and 1 deletions
+22
View File
@@ -150,6 +150,8 @@ spec:
- hosts:
- web3.zoo.ngo
- api.web3.zoo.ngo
- zoo.cloud
- www.zoo.cloud
secretName: bootnode-zoo-tls
rules:
- host: web3.zoo.ngo
@@ -162,6 +164,26 @@ spec:
name: bootnode-web-zoo
port:
number: 3001
- host: zoo.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: bootnode-web-zoo
port:
number: 3001
- host: www.zoo.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: bootnode-web-zoo
port:
number: 3001
- host: api.web3.zoo.ngo
http:
paths:
+1 -1
View File
@@ -265,7 +265,7 @@ function getBrandKey(): string {
const hostname = window.location.hostname
if (hostname.includes("lux.cloud") || hostname.includes("lux.network")) return "lux"
if (hostname.includes("pars.network") || hostname.includes("pars.id")) return "pars"
if (hostname.includes("zoo.ngo") || hostname.includes("zoo.network")) return "zoo"
if (hostname.includes("zoo.ngo") || hostname.includes("zoo.network") || hostname.includes("zoo.cloud")) return "zoo"
if (hostname.includes("hanzo.ai")) return "hanzo"
if (hostname.includes("bootno.de") || hostname.includes("bootnode.io")) return "bootnode"
}