Harden security

This commit is contained in:
2026-03-05 05:42:19 +00:00
parent 06735bdfb1
commit 438e561da0
75 changed files with 6260 additions and 278 deletions

View File

@@ -189,8 +189,9 @@ REST_FRAMEWORK = {
}
INTERNAL_IPS = [
"127.0.0.1",
"10.1.10.11",
item.strip()
for item in os.getenv("INTERNAL_IPS", "localhost").split(",")
if item.strip()
]
DEBUG_TOOLBAR_PANELS = [