apolloapi-v2/config/default.js
Aleksander Barszczewski b3146e1c45 Initial commit
2018-10-23 19:07:38 +02:00

17 lines
291 B
JavaScript

const dotenv = require('dotenv')
const { join } = require('path')
dotenv.config({ silent: true })
module.exports = {
db: {
url: join(__dirname, '..', 'futurebit.sqlite')
},
settings: {
},
server: {
secret: process.env.APP_SECRET,
port: process.env.PORT || 5000
}
}