Commit 524070e8 authored by Sam Galson's avatar Sam Galson

add winston to config

parent 7cfeb4bc
......@@ -2,9 +2,12 @@ const path = require('path')
const blogmode = require('authsome/src/modes/blog')
const Joi = require('joi')
const logger = require('winston')
module.exports = {
'pubsweet-server': {
dbPath: process.env.PUBSWEET_DB || path.join(__dirname, '..', 'api', 'db'),
logger,
API_ENDPOINT: '/api',
sse: process.env.PUBSWEET_SSE
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment