Adding Dockerfile and build script

This commit is contained in:
Fabian
2019-10-01 17:45:38 +02:00
parent 65588f4b98
commit 405e589328
11 changed files with 98 additions and 45 deletions

View File

@ -2,9 +2,9 @@ import { LoggingBase } from "@hibas123/nodelogging";
import { Context } from "koa";
import config from "../../config";
const route_logging = new LoggingBase({ name: "access", files: { errorfile: null }, console: config.general.dev })
const route_logging = new LoggingBase({ name: "access", files: { errorfile: null }, console: config.dev })
const RequestLog = async (ctx: Context, next) => {
if (!config.general.access_log) return next();
if (!config.access_log) return next();
let start = process.hrtime()
let to = false
let print = () => {