diff --git a/FEATURES.md b/FEATURES.md index a2f84b4..2a07799 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -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/` \ No newline at end of file +Example: `/articles/2022/10/12/post-1/` -> `/posts/2022/10/12/post-1/` diff --git a/cmd/main.go b/cmd/main.go index 746a1a9..84915c9 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -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) }