Adding Dockerfile and build script
This commit is contained in:
@ -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 = () => {
|
||||
|
Reference in New Issue
Block a user