base URL param for config
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
"logo_path": "./data/astraltech_logo_large.png"
|
||||
},
|
||||
"server_config": {
|
||||
"port": 8080
|
||||
"port": 8080,
|
||||
"base_url": "https://profile.example.com"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user