Update aviationweather.gov domain

This commit is contained in:
Elara 2023-11-29 15:18:35 -08:00
parent cf76638b8a
commit f86670d3a9

View File

@ -58,7 +58,7 @@ func main() {
// Identifiers must be uppercase // Identifiers must be uppercase
*identifier = strings.ToUpper(*identifier) *identifier = strings.ToUpper(*identifier)
// Get the TAF report from aviationweather.gov's beta endpoint // Get the TAF report from aviationweather.gov's beta endpoint
res, err := http.Get("https://beta.aviationweather.gov/cgi-bin/data/taf.php?ids=" + *identifier) res, err := http.Get("https://aviationweather.gov/cgi-bin/data/taf.php?ids=" + *identifier)
if err != nil { if err != nil {
log.Fatal("Error getting TAF report").Err(err).Send() log.Fatal("Error getting TAF report").Err(err).Send()
} }