From 455cc67d4c32276006ef1b5669d8b5173bef795f Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Wed, 17 Jun 2026 21:14:20 +0000 Subject: [PATCH] Use neutral endpoint in example config --- examples/config.yml | 2 +- internal/config/config_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/config.yml b/examples/config.yml index c083411..9cf2438 100644 --- a/examples/config.yml +++ b/examples/config.yml @@ -1,5 +1,5 @@ weather_api: - base_url: https://weather.api.rakestrawhome.com/ + base_url: https://weather.api.example.com/ timeout: 15s precision: 1 units: us diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 3d08a6b..be49208 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -86,7 +86,7 @@ func TestLoadExampleConfig(t *testing.T) { 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) } if cfg.WeatherAPI.Timeout != 15*time.Second {