Skip to content

Commit

Permalink
Edits
Browse files Browse the repository at this point in the history
  • Loading branch information
grellyd committed Aug 29, 2023
1 parent 15762f5 commit 116cc4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grellyddotcom.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/grellyd/filelogging/globallogger"
"github.com/grellyd/filelogging/state"
"github.com/grellyd/grellyddotcom/config"
"github.com/grellyd/grellyddotcom/handlers"
"github.com/grellyd/grellyddotcom/router"
)

Expand Down Expand Up @@ -150,7 +151,7 @@ func registerRoutes() (*router.Router, error) {
// if err != nil {
// return nil, fmt.Errorf("unable to register email: %w", err)
// }
err = r.Register("/certs/", "^/certs/([a-zA-Z0-9_]*).html$", handlers.File)
err := r.Register("/certs/", "^/certs/([a-zA-Z0-9_]*).html$", handlers.File)
if err != nil {
return nil, fmt.Errorf("unable to register certs: %w", err)
}
Expand Down

0 comments on commit 116cc4d

Please sign in to comment.