You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
394 B
JavaScript
8 lines
394 B
JavaScript
const TOKEN = process.env.HA_TOKEN;
|
|
const HA_URL = process.env.HA_URL || "http://127.0.0.1:8123";
|
|
const PORT = parseInt(process.env.HA_BRIDGE_PORT || "41234");
|
|
const TRANSITION_DURATION_DIVIDER = parseInt(process.env.HA_DURATION_DIVIDER || "1");
|
|
const CONFIG_FILE = process.env.CONFIG_FILE || "./config.js" ;
|
|
|
|
module.exports = { TOKEN, HA_URL, PORT, TRANSITION_DURATION_DIVIDER, CONFIG_FILE };
|