web dashboard in single container
This commit is contained in:
1 parent
a89703c420
commit
c6007d9c33
26 files changed
+460
-365
No files matched your search
@@ -17,7 +17,8 @@ const io = new Server(server);
|
||||
/* --------------------------------------------------------------------- */
|
||||
let config = {};
|
||||
try {
|
||||
const file = fs.readFileSync(path.resolve(__dirname, 'cosmostat_settings.yaml'), 'utf8');
|
||||
const filePath = '/app/cosmostat_settings.yaml';
|
||||
const file = fs.readFileSync(filePath, 'utf8');
|
||||
config = yaml.load(file);
|
||||
} catch (e) {
|
||||
console.error('Failed to load config.yaml:', e);
|
||||
|
||||
Reference in new issue
Block a user