fix first linter issues

This commit is contained in:
6543 2023-03-11 06:20:19 +01:00
parent 074b1707cf
commit d51245a527
2 changed files with 1 additions and 2 deletions

View File

@ -42,4 +42,4 @@ Redirects every path under `/articles` to `/posts` while keeping the path.
/articles/* /posts/:splat 302
```
Example: `/articles/2022/10/12/post-1/` -> `/posts/2022/10/12/post-1/`
Example: `/articles/2022/10/12/post-1/` -> `/posts/2022/10/12/post-1/`

View File

@ -103,7 +103,6 @@ func Serve(ctx *cli.Context) error {
// Create listener for SSL connections
log.Info().Msgf("Create TCP listener for SSL on %s", listeningSSLAddress)
listener, err := net.Listen("tcp", listeningSSLAddress)
if err != nil {
return fmt.Errorf("couldn't create listener: %v", err)
}