mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 11:44:02 +03:00
Use curl as user agent
This commit is contained in:
@@ -46,7 +46,7 @@ func makeNetwork(conf *config.Config, version string) (mtglib.Network, error) {
|
||||
|
||||
base := network.New(
|
||||
resolver,
|
||||
"mtg/"+version,
|
||||
"",
|
||||
conf.Network.Timeout.TCP.Get(0),
|
||||
conf.Network.Timeout.HTTP.Get(0),
|
||||
conf.Network.Timeout.Idle.Get(0),
|
||||
|
||||
Reference in New Issue
Block a user