chore: fix typos (#3490)

This commit is contained in:
Andreas Deininger
2024-09-23 11:55:07 +02:00
committed by GitHub
parent 406d4f7884
commit d729701bd4
9 changed files with 13 additions and 13 deletions

View File

@@ -47,7 +47,7 @@ func errToStatus(err error) int {
}
}
// This is an addaptation if http.StripPrefix in which we don't
// This is an adaptation if http.StripPrefix in which we don't
// return 404 if the page doesn't have the needed prefix.
func stripPrefix(prefix string, h http.Handler) http.Handler {
if prefix == "" || prefix == "/" {