Use neutral endpoint in example config

This commit is contained in:
2026-06-17 21:14:20 +00:00
parent dd3133ee2a
commit 455cc67d4c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
weather_api: weather_api:
base_url: https://weather.api.rakestrawhome.com/ base_url: https://weather.api.example.com/
timeout: 15s timeout: 15s
precision: 1 precision: 1
units: us units: us

View File

@@ -86,7 +86,7 @@ func TestLoadExampleConfig(t *testing.T) {
t.Fatalf("LoadFile() error = %v", err) t.Fatalf("LoadFile() error = %v", err)
} }
if cfg.WeatherAPI.BaseURL != "https://weather.api.rakestrawhome.com/" { if cfg.WeatherAPI.BaseURL != "https://weather.api.example.com/" {
t.Fatalf("BaseURL = %q, want configured example URL", cfg.WeatherAPI.BaseURL) t.Fatalf("BaseURL = %q, want configured example URL", cfg.WeatherAPI.BaseURL)
} }
if cfg.WeatherAPI.Timeout != 15*time.Second { if cfg.WeatherAPI.Timeout != 15*time.Second {