feat: add localhost web UI for scans, blocklist, and firewall management
This commit is contained in:
1 parent
a9dc560f80
commit
4ef6892916
19 files changed
+1934
-117
No files matched your search
@@ -102,6 +102,15 @@ DEFAULT_ERROR_RATIO = float(os.environ.get(
|
||||
"DEFAULT_ERROR_RATIO", "0.5")) # npm
|
||||
DEFAULT_TOP_PATHS = int(os.environ.get("DEFAULT_TOP_PATHS", "20"))
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Web server (localhost only)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# The Flask web UI binds to localhost on a very high port so it is only
|
||||
# reachable from this machine. Do not expose WEB_HOST beyond 127.0.0.1.
|
||||
WEB_HOST = os.environ.get("WEB_HOST", "127.0.0.1")
|
||||
WEB_PORT = int(os.environ.get("WEB_PORT", "54666"))
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Whitelist sources (configurable via environment)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user