Skip to content

Commit bd17232

Browse files
committed
🚚 Updates validator path, adds version checker script
1 parent 5a4c23c commit bd17232

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ const dns = require('dns');
1313
const os = require('os');
1414
const bodyParser = require('body-parser');
1515

16+
/* Kick of some basic checks */
17+
require('./services/update-checker'); // Checks if there are any updates available, prints message
18+
require('./services/config-validator'); // Include and kicks off the config file validation script
19+
1620
/* Include helper functions and route handlers */
1721
const pingUrl = require('./services/ping'); // Used by the status check feature, to ping services
1822
const saveConfig = require('./services/save-config'); // Saves users new conf.yml to file-system
1923
const printMessage = require('./services/print-message'); // Function to print welcome msg on start
2024
const rebuild = require('./services/rebuild-app'); // A script to programmatically trigger a build
21-
require('./src/utils/ConfigValidator'); // Include and kicks off the config file validation script
2225

2326
/* Checks if app is running within a container, from env var */
2427
const isDocker = !!process.env.IS_DOCKER;

0 commit comments

Comments
 (0)