Update aviationweather.gov domain

This commit is contained in:
Elara 2023-11-29 15:18:35 -08:00
parent cf76638b8a
commit f86670d3a9
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func main() {
// Identifiers must be uppercase
*identifier = strings.ToUpper(*identifier)
// 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 {
log.Fatal("Error getting TAF report").Err(err).Send()
}