6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-06-25 00:08:26 +00:00

Fix daemon name :D (#72)

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/72
This commit is contained in:
James Mills 2022-03-27 03:04:47 +00:00
parent c576a3c4ac
commit bcbf7eeedc
2 changed files with 2 additions and 2 deletions

@ -101,7 +101,7 @@ func main() {
parseArgs()
if version {
fmt.Printf("pollinator version %s", saltyim.FullVersion())
fmt.Printf("saltyd version %s", saltyim.FullVersion())
os.Exit(0)
}

@ -405,7 +405,7 @@ func NewServer(bind string, options ...Option) (*Server, error) {
server: &http.Server{
Addr: bind,
Handler: logger.New(logger.Options{
Prefix: "pollinator",
Prefix: "saltyd",
RemoteAddressHeaders: []string{"X-Forwarded-For"},
}).Handler(gziphandler.GzipHandler(
csrfHandler,