Update url to my.arlo.com.

This commit is contained in:
Jeffrey Walter 2019-10-11 00:10:15 +03:00 committed by GitHub
parent 55af80f02f
commit bc0a605676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,8 +43,8 @@ func newArlo(user string, pass string) (arlo *Arlo) {
baseHeaders := make(http.Header) baseHeaders := make(http.Header)
baseHeaders.Add("DNT", "1") baseHeaders.Add("DNT", "1")
baseHeaders.Add("schemaVersion", "1") baseHeaders.Add("schemaVersion", "1")
baseHeaders.Add("Host", "arlo.netgear.com") baseHeaders.Add("Host", "my.arlo.com")
baseHeaders.Add("Referer", "https://arlo.netgear.com/") baseHeaders.Add("Referer", "https://my.arlo.com/")
c, _ := request.NewClient(BaseUrl, baseHeaders) c, _ := request.NewClient(BaseUrl, baseHeaders)