*: restructuring to make testing flow nicer
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 50s

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2023-09-26 15:06:01 -04:00
parent 281945a672
commit ef4e816dac
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
12 changed files with 10 additions and 5 deletions

15
server.js Normal file
View file

@ -0,0 +1,15 @@
const config = require('./config');
const app = require('./app');
const bole = require('bole');
const log = bole('server');
app.listen(config.express.port, config.express.ip, function(error) {
if (error) {
log.error('Unable to listen for connections', error);
process.exit(10);
}
log.info('express is listening on http://' +
config.express.ip + ':' + config.express.port)
});
// vim:set sts=2 sw=2 et: