fix(mitm): recover from stale lock file on server start

Detect dead PID in lock file and reclaim it instead of failing, and drop unused fs dependency.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
decolua
2026-07-07 11:44:20 +07:00
co-authored by Cursor
parent 1885ad7f64
commit da0149de97
2 changed files with 9 additions and 4 deletions
-1
View File
@@ -24,7 +24,6 @@
"bcryptjs": "^3.0.3",
"confbox": "^0.2.4",
"express": "^5.2.1",
"fs": "^0.0.1-security",
"http-proxy-middleware": "^3.0.5",
"jose": "^6.1.3",
"marked": "^18.0.1",