docs: update the non-standard code configuration to forbid access to .env and .git
This commit is contained in:
parent
5ea8f52324
commit
9b4c350d3c
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ It's also recommended to forbid the access to ".env" file and ".git" directories
|
|||
"nonStandardCodes": [
|
||||
{
|
||||
"scode": 403,
|
||||
"regex": "/^\\/\\.env(?:\\.local)?(?:$|[#?])/"
|
||||
"regex": "/^\\/\\.env(?:\\.local|\\.production)?(?:$|[#?])/"
|
||||
},
|
||||
{
|
||||
"scode": 403,
|
||||
|
|
Reference in a new issue