Update aviationweather.gov domain
This commit is contained in:
parent
cf76638b8a
commit
f86670d3a9
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user