mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-09-30 20:46:32 +00:00
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:
@@ -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
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user