feat: add .env config file (POLL_INTERVAL_MS, PORT, LOG_LEVEL)

This commit is contained in:
zlm committed 2026-06-10 09:16:30 +08:00
1 parent 11b79075a5
commit 786c063e4a
6 files changed
+31 -1

No files matched your search

+13
View File
@@ -10,6 +10,7 @@
"dependencies": {
"@hono/node-server": "^1.14.0",
"better-sqlite3": "^11.8.0",
"dotenv": "^17.4.2",
"hono": "^4.7.0",
"node-snap7": "^1.0.9"
},
@@ -608,6 +609,18 @@
"node": ">=8"
}
},
"node_modules/dotenv": {
"version": "17.4.2",
"resolved": "https://repo.huaweicloud.com/repository/npm/dotenv/-/dotenv-17.4.2.tgz",
"integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==",
"license": "BSD-2-Clause",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://dotenvx.com"
}
},
"node_modules/end-of-stream": {
"version": "1.4.5",
"resolved": "https://repo.huaweicloud.com/repository/npm/end-of-stream/-/end-of-stream-1.4.5.tgz",