git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: 51f5f8f504793351faa020ae6f5b8826c175aceb

Files: 51f5f8f504793351faa020ae6f5b8826c175aceb / app / config.js

320 bytesRaw
1const { join } = require('path')
2
3const configDir = join(__dirname, '..', 'config')
4const nodeEnv = process.env.NODE_ENV || 'development'
5
6const defaults = require(join(configDir, 'defaults'))
7const envConfig = require(join(configDir, nodeEnv))
8
9const config = {
10 ...defaults,
11 ...envConfig
12}
13
14module.exports = config
15

Built with git-ssb-web