fix: set now NO_LOGFILES
This commit is contained in:
parent
fedfc741d5
commit
8a2528d33f
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ const calculateValue = () => {
|
|||
}
|
||||
|
||||
value = {
|
||||
isPackage: false,
|
||||
isPackage: envs.IS_PACKAGE,
|
||||
noLogfiles: envs.NO_LOGFILES,
|
||||
connect: {
|
||||
port: envs.PORT || 1200, // 监听端口
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ module.exports = {
|
|||
config.set(
|
||||
Object.assign(
|
||||
{
|
||||
isPackage: true,
|
||||
IS_PACKAGE: true,
|
||||
},
|
||||
conf
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue