mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
chore: fix typos (#3490)
This commit is contained in:
parent
406d4f7884
commit
d729701bd4
9 changed files with 13 additions and 13 deletions
|
|
@ -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 == "/" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue