move platform config to db

this way it can be tied up to some REST API later

part of #555
This commit is contained in:
Girish Ramakrishnan
2018-05-16 17:31:32 -07:00
parent 27e263e7fb
commit f7cc49c5f4
3 changed files with 52 additions and 17 deletions
-1
View File
@@ -32,7 +32,6 @@ exports = module.exports = {
APP_CERTS_DIR: path.join(config.baseDir(), 'boxdata/certs'),
CLOUDRON_AVATAR_FILE: path.join(config.baseDir(), 'boxdata/avatar.png'),
UPDATE_CHECKER_FILE: path.join(config.baseDir(), 'boxdata/updatechecker.json'),
PLATFORM_CONFIG_FILE: path.join(config.baseDir(), 'boxdata/platform.json'),
AUTO_PROVISION_FILE: path.join(config.baseDir(), 'configs/autoprovision.json')
};