Skip to content

Commit 0444b86

Browse files
committed
chore: rename API hostname example from api. to hypeman.
Update example comments to use `hypeman.<hostname>.kernel.sh` instead of `api.<hostname>.kernel.sh` for the API ingress hostname pattern.
1 parent 081cb53 commit 0444b86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/api/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ type Config struct {
104104
CloudflareApiToken string // Cloudflare API token
105105

106106
// API ingress configuration - exposes Hypeman API via Caddy
107-
ApiHostname string // Hostname for API access (e.g., api.hostname.kernel.sh). Empty = disabled.
107+
ApiHostname string // Hostname for API access (e.g., hypeman.hostname.kernel.sh). Empty = disabled.
108108
ApiTLS bool // Enable TLS for API hostname
109109
ApiRedirectHTTP bool // Redirect HTTP to HTTPS for API hostname
110110

lib/ingress/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (c *ACMEConfig) IsTLSConfigured() bool {
145145

146146
// APIIngressConfig holds configuration for exposing the Hypeman API via Caddy.
147147
type APIIngressConfig struct {
148-
// Hostname is the hostname for API access (e.g., "api.hostname.kernel.sh").
148+
// Hostname is the hostname for API access (e.g., "hypeman.hostname.kernel.sh").
149149
// Empty means API ingress is disabled.
150150
Hostname string
151151

0 commit comments

Comments
 (0)