Feat: anon navbar (#16189)
* chore(React): %s/react-pure-render/React.PureComponent/gc * fix(Settings): Should redirect to signup when unauthen * feat(Development): Use SES for mail if defined * feat(Nav): Show anon navbar when logged in * fix(server/datasources): Make sure mailhog works if no ses keys are found LB will use both mail settings if using both local and dev * fix(Nav): Use text instead of icons * fix(Nav): Make donate page open in new tab
This commit is contained in:
committed by
Quincy Larson
parent
1720c61753
commit
b1e9a172a2
17
server/datasources.production.js
Normal file
17
server/datasources.production.js
Normal file
@@ -0,0 +1,17 @@
|
||||
var secrets = require('../config/secrets');
|
||||
|
||||
module.exports = {
|
||||
db: {
|
||||
connector: 'mongodb',
|
||||
connectionTimeout: 10000,
|
||||
url: secrets.db
|
||||
},
|
||||
mail: {
|
||||
connector: 'mail',
|
||||
transport: {
|
||||
type: 'ses',
|
||||
accessKeyId: process.env.SES_ID,
|
||||
secretAccessKey: process.env.SES_SECRET
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user