Former-commit-id: 31a8d5dbc40740a30b74a640f606f09ef427d366
This commit is contained in:
Ben
2022-02-03 21:43:55 +00:00
parent 8f87767880
commit 7eaacb71b0
5 changed files with 11 additions and 7 deletions

View File

@@ -1 +0,0 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

View File

@@ -10,5 +10,6 @@ LOG_LEVEL=verbose/debug/warn/info
LOG_TARGET=console/filesystem/network
LOG_PATH=network ip/path
DATABASE_HOST=host
DATABASE_HOST=host/path
DATABASE_HOST_DEV=host/path
```

View File

@@ -0,0 +1,7 @@
const Server = require('/routes/server.js');
module.exports = {
}

View File

View File

@@ -1,10 +1,7 @@
const Logger = require('../logger.js');
const express = require('express');
function load() {
}
const app = express();
function logRequest(req, res, next)
{
@@ -13,7 +10,6 @@ function logRequest(req, res, next)
}
function listen(port) {
const app = express();
app.listen(port);
Logger.info(`LISTENING ON ${port}...`);
@@ -24,6 +20,7 @@ function listen(port) {
}
module.exports = {
app,
load,
listen
};