Update giphyproxy /version response

This commit is contained in:
Tulir Asokan
2024-06-19 12:20:07 +03:00
parent 804014f3b4
commit 850668a9f6
3 changed files with 4 additions and 3 deletions

View File

@ -49,6 +49,7 @@ func main() {
var cfg Config
exerrors.PanicIfNotNil(yaml.Unmarshal(cfgFile, &cfg))
mp := exerrors.Must(mediaproxy.NewFromConfig(cfg.BasicConfig, getMedia))
mp.KeyServer.Version.Name = "maunium-stickerpicker giphy proxy"
exerrors.PanicIfNotNil(mp.Listen(cfg.ServerConfig))
}
}