base URL param for config

This commit is contained in:
2026-04-09 16:45:02 -04:00
parent 37c6978d1b
commit cde41b82b2
2 changed files with 4 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
"logo_path": "./data/astraltech_logo_large.png" "logo_path": "./data/astraltech_logo_large.png"
}, },
"server_config": { "server_config": {
"port": 8080 "port": 8080,
"base_url": "https://profile.example.com"
} }
} }

View File

@@ -23,6 +23,7 @@ type StyleConfig struct {
type WebserverConfig struct { type WebserverConfig struct {
Port int `json:"port"` Port int `json:"port"`
BaseURL string `json:"base_url"`
} }
type ServerConfig struct { type ServerConfig struct {