Set User-Agent

This commit is contained in:
Yasuhiro Matsumoto 2019-06-22 01:14:52 +09:00
parent 8f6192e26b
commit f59710830c
No known key found for this signature in database
GPG key ID: 622DE34DC490584B
2 changed files with 9 additions and 1 deletions

View file

@ -370,6 +370,7 @@ func run() int {
}
client := mastodon.NewClient(config)
client.UserAgent = "mstdn"
app.Metadata = map[string]interface{}{
"client": client,
"config": config,