diff options
Diffstat (limited to 'service/static')
-rw-r--r-- | service/static/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/static/config.go b/service/static/config.go index d55fcd66..1020b8cd 100644 --- a/service/static/config.go +++ b/service/static/config.go @@ -20,7 +20,7 @@ type Config struct { Forbid []string } -// Forbid must return true if file extension is not allowed for the upload. +// Forbids must return true if file extension is not allowed for the upload. func (cfg *Config) Forbids(filename string) bool { ext := strings.ToLower(path.Ext(filename)) |