Lint nginx code
This commit is contained in:
parent
e9871ffaad
commit
92e3b5ba78
4 changed files with 3 additions and 8 deletions
|
|
@ -24,7 +24,6 @@ import (
|
|||
"net"
|
||||
"os"
|
||||
"os/exec"
|
||||
"regexp"
|
||||
"strings"
|
||||
text_template "text/template"
|
||||
|
||||
|
|
@ -392,7 +391,6 @@ func isLocationAllowed(input interface{}) bool {
|
|||
}
|
||||
|
||||
var (
|
||||
nonAlpha = regexp.MustCompile("[^a-zA-Z0-9]+")
|
||||
denyPathSlugMap = map[string]string{}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue