diff --git a/data/config.example.json b/data/config.example.json index 32664ac..35ecc0e 100644 --- a/data/config.example.json +++ b/data/config.example.json @@ -12,6 +12,7 @@ "logo_path": "./data/astraltech_logo_large.png" }, "server_config": { - "port": 8080 + "port": 8080, + "base_url": "https://profile.example.com" } } diff --git a/src/main/config.go b/src/main/config.go index d70a7a5..e4501e4 100644 --- a/src/main/config.go +++ b/src/main/config.go @@ -22,7 +22,8 @@ type StyleConfig struct { } type WebserverConfig struct { - Port int `json:"port"` + Port int `json:"port"` + BaseURL string `json:"base_url"` } type ServerConfig struct {