Skip to content

Commit

Permalink
chore(noaa): remove trailing slash from base url
Browse files Browse the repository at this point in the history
  • Loading branch information
kylejb committed Apr 21, 2024
1 parent 7ced9a7 commit 16698af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/noaa/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

0 comments on commit 16698af

Please sign in to comment.