fix: set now NO_LOGFILES

This commit is contained in:
DIYgod
2020-04-28 18:28:28 +08:00
parent fedfc741d5
commit 8a2528d33f
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
const config = require('../lib/config');
const app = require('../lib/app');
config.set({
noLogFiles: true,
NO_LOGFILES: true,
});
const app = require('../lib/app');
module.exports = (req, res) => {
app.callback()(req, res);
};
+1 -1
View File
@@ -25,7 +25,7 @@ const calculateValue = () => {
}
value = {
isPackage: false,
isPackage: envs.IS_PACKAGE,
noLogfiles: envs.NO_LOGFILES,
connect: {
port: envs.PORT || 1200, // 监听端口
+1 -1
View File
@@ -6,7 +6,7 @@ module.exports = {
config.set(
Object.assign(
{
isPackage: true,
IS_PACKAGE: true,
},
conf
)