From 16698afe79992b5c759c8ede203fa97f0d71cb7f Mon Sep 17 00:00:00 2001 From: "Kyle J. Burda" <47502769+kylejb@users.noreply.github.com> Date: Sun, 21 Apr 2024 11:05:15 -0400 Subject: [PATCH] chore(noaa): remove trailing slash from base url --- pkg/noaa/constants.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/noaa/constants.go b/pkg/noaa/constants.go index bdaf79a..bb7d191 100644 --- a/pkg/noaa/constants.go +++ b/pkg/noaa/constants.go @@ -3,17 +3,17 @@ package noaa // NDBC Endpoints const ( // NDBC Base URL - baseUrlNDBC = "https://www.ndbc.noaa.gov/" + baseUrlNDBC = "https://www.ndbc.noaa.gov" - ActiveStations = baseUrlNDBC + "activestations" - Realtime = baseUrlNDBC + "data/realtime2" + ActiveStations = baseUrlNDBC + "/activestations" + Realtime = baseUrlNDBC + "/data/realtime2" ) // NOAA Endpoints const ( // NOAA Base URL - baseUrlNOAA = "https://graphical.weather.gov/" + baseUrlNOAA = "https://graphical.weather.gov" // National Digital Forecast Database - Forecasts = baseUrlNOAA + "xml/sample_products/browser_interface/ndfdXMLclient.php" + Forecasts = baseUrlNOAA + "/xml/sample_products/browser_interface/ndfdXMLclient.php" )