auth.js 468 B

12345678910111213
  1. "use strict";
  2. var __importDefault = (this && this.__importDefault) || function (mod) {
  3. return (mod && mod.__esModule) ? mod : { "default": mod };
  4. };
  5. Object.defineProperty(exports, "__esModule", { value: true });
  6. exports.HaToken = void 0;
  7. var process_1 = __importDefault(require("process"));
  8. var config_1 = require("./config");
  9. var auth;
  10. exports.HaToken = auth;
  11. if (config_1.debugMode) {
  12. exports.HaToken = auth = process_1.default.env.HASS_LLAT;
  13. }