remove default env values. correct package json with env vars .

This commit is contained in:
Первов Артем
2026-06-19 09:41:16 +03:00
parent 10dbdb2120
commit cbe33500cf
7 changed files with 8 additions and 13 deletions

View File

@@ -5,9 +5,7 @@ import type { TopicHandler } from '../types.js'
export const TOPIC = 'data/edge5/modbus/v2'
const mapper = createMetricMapper({
filePath:
process.env.EDGE5_MODBUS_V2_MAPPING_FILE ??
new URL('../mappings/edge5-modbus.json', import.meta.url),
filePath: process.env.EDGE5_MODBUS_V2_MAPPING_FILE as string,
})
const REGISTER_COUNT = mapper.tagCount