docs: update the non-standard code configuration to forbid access to .env and .git
Some checks failed
Deploy Next.js application / deploy (push) Has been cancelled
Some checks failed
Deploy Next.js application / deploy (push) Has been cancelled
This commit is contained in:
parent
b7e2ec9d63
commit
1a4fb6246b
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,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,
|
||||
|
|
Loading…
Reference in a new issue