Added k8s support

This commit is contained in:
2020-09-27 08:22:41 +08:00
parent 167da69ae4
commit ea75ed0d9e
4 changed files with 148 additions and 6 deletions

View File

@@ -1,8 +1,4 @@
var fs = require( "fs" );
var path = "logs/access.log";
module.exports = {
handler: fs.createWriteStream(
path, { flag: "w+" }
)
};
var w = { "write": process.stdout.write.bind( process.stdout ) };
module.exports = { handler: w };