move modlogs into own folder
This commit is contained in:
parent
9b7cf6365c
commit
747981ad5a
|
@ -53,7 +53,7 @@ export const modtoolsLogger = createLogger({
|
|||
transports: [
|
||||
new DailyRotateFile({
|
||||
level: 'info',
|
||||
filename: './log/modtools-%DATE%.log',
|
||||
filename: './log/moderation/modtools-%DATE%.log',
|
||||
maxSize: '20m',
|
||||
maxFiles: '14d',
|
||||
colorize: false,
|
||||
|
|
|
@ -47,10 +47,10 @@ router.use('/tiles', tiles);
|
|||
*/
|
||||
router.use('/adminapi', adminapi);
|
||||
|
||||
//
|
||||
// public folder
|
||||
// (this should be served with nginx or other webserver)
|
||||
// -----------------------------------------------------------------------------
|
||||
/*
|
||||
* public folder
|
||||
* (this should be served with nginx or other webserver)
|
||||
*/
|
||||
router.use(express.static(path.join(__dirname, 'public'), {
|
||||
maxAge: 12 * MONTH,
|
||||
extensions: ['html'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user