content
Former-commit-id: f776773deec7802f2975ead31d3b553cd6a02cd7
This commit is contained in:
1
db/res/.gitattributes
vendored
1
db/res/.gitattributes
vendored
@@ -1 +0,0 @@
|
||||
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
const Server = require('/routes/server.js');
|
||||
|
||||
|
||||
|
||||
module.exports = {
|
||||
|
||||
}
|
||||
|
||||
0
src/routes/content-delivery.js
Normal file
0
src/routes/content-delivery.js
Normal 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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user