You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
chore: fix typos (#3490)
This commit is contained in:
committed by
GitHub
parent
406d4f7884
commit
d729701bd4
@@ -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 == "/" {
|
||||
|
||||
Reference in New Issue
Block a user