chore: fix typos (#3490)

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

No files matched your search

+1 -1
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 == "/" {