From 1a4fb6246b21c1d9fc16dfcc0aeeba885aa8713b Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Tue, 10 Sep 2024 19:43:13 +0200 Subject: [PATCH] docs: update the non-standard code configuration to forbid access to .env and .git --- pages/docs/mod-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/mod-notes.md b/pages/docs/mod-notes.md index c0a16da..176a198 100644 --- a/pages/docs/mod-notes.md +++ b/pages/docs/mod-notes.md @@ -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,