mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
refactor: format JSON and Lua files for improved readability and consistency
This commit is contained in:
parent
53ac7975a6
commit
2135ef8769
3 changed files with 8 additions and 6 deletions
|
|
@ -74,7 +74,7 @@ function metrics:log(bypass_checks)
|
|||
reason = reason,
|
||||
server_name = self.ctx.bw.server_name,
|
||||
data = data,
|
||||
security_mode = security_mode
|
||||
security_mode = security_mode,
|
||||
}
|
||||
-- Get current requests
|
||||
local requests = lru:get("requests")
|
||||
|
|
|
|||
|
|
@ -26,7 +26,12 @@
|
|||
"selfsigned",
|
||||
"ui"
|
||||
],
|
||||
"ssl_certificate": ["customcert", "letsencrypt_dns", "letsencrypt", "selfsigned"],
|
||||
"ssl_certificate": [
|
||||
"customcert",
|
||||
"letsencrypt_dns",
|
||||
"letsencrypt",
|
||||
"selfsigned"
|
||||
],
|
||||
"access": [
|
||||
"whitelist",
|
||||
"letsencrypt",
|
||||
|
|
|
|||
|
|
@ -352,9 +352,6 @@
|
|||
"label": "Security mode",
|
||||
"regex": "^(detect|block)$",
|
||||
"type": "select",
|
||||
"select": [
|
||||
"detect",
|
||||
"block"
|
||||
]
|
||||
"select": ["detect", "block"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue