mirror of http://gitlab.batiao8.com/yic/film.git
User-Agent
This commit is contained in:
parent
a0c9011d1c
commit
e105d85938
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"token": "50ce0f30643185a4d0662c61245ea4a1",
|
||||
"token": "711ed95e483af1e8d61705c9c894a5b2",
|
||||
"syncInterval": 10
|
||||
}
|
|
@ -147,6 +147,7 @@ func (s *SyncOrder) httpPost(requestUrl string) ([]byte, error) {
|
|||
return nil, err
|
||||
}
|
||||
req.Header.Set("token", s.token)
|
||||
req.Header.Set("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36")
|
||||
|
||||
resp, err := client.Do(req)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue