diff --git a/db/res/.gitattributes b/db/res/.gitattributes deleted file mode 100644 index 8ce7b72..0000000 --- a/db/res/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index b6c46b8..3010b51 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -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 ``` diff --git a/src/routes/api.js b/src/routes/api.js index e69de29..66facec 100644 --- a/src/routes/api.js +++ b/src/routes/api.js @@ -0,0 +1,7 @@ +const Server = require('/routes/server.js'); + + + +module.exports = { + +} diff --git a/src/routes/content-delivery.js b/src/routes/content-delivery.js new file mode 100644 index 0000000..e69de29 diff --git a/src/routes/server.js b/src/routes/server.js index a458cbc..e903ac3 100644 --- a/src/routes/server.js +++ b/src/routes/server.js @@ -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 };