feat: handle event propagation via DB (HA)

This commit is contained in:
NGPixel
2020-02-02 21:55:29 -05:00
committed by Nicolas Giard
parent 8aba5305d8
commit 7cd5721ca1
9 changed files with 145 additions and 13 deletions

View File

@@ -4,11 +4,13 @@
// ===========================================
const path = require('path')
const nanoid = require('nanoid')
let WIKI = {
IS_DEBUG: process.env.NODE_ENV === 'development',
IS_MASTER: true,
ROOTPATH: process.cwd(),
INSTANCE_ID: nanoid(10),
SERVERPATH: path.join(process.cwd(), 'server'),
Error: require('./helpers/error'),
configSvc: require('./core/config'),