Add comments

pull/85/head
Fenny 2020-02-08 07:17:43 +01:00
parent 3e5f735e7d
commit dbb92028f8
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ func (r *Fiber) Static(args ...string) {
}
// Check if wildcard for single files
// app.Static("*", "./public/index.html")
// app.Static("/*", "./public/index.html")
if prefix == "*" || prefix == "/*" {
wildcard = true
}