Handle multipart form files
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2022-01-16 21:29:42 +01:00
parent f7cdbb8722
commit 786ae6ad94
4 changed files with 70 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ func ActionServe(c *cli.Context) error {
go func() {
srv := gpaste.NewHTTPServer(cfg)
srv.Addr = cfg.ListenAddr
srv.Logger = serverLogger
// Wait for cancel
go func() {