add config
This commit is contained in:
parent
47c9e7c09f
commit
cbaface788
8
app.js
8
app.js
@ -1,6 +1,7 @@
|
||||
var express = require('express')
|
||||
, app = express.createServer()
|
||||
, nodemailer = require('nodemailer')
|
||||
, config = require('./config.js')
|
||||
|
||||
var redis;
|
||||
if (process.env.NODE_ENV == 'production')
|
||||
@ -16,13 +17,6 @@ app.use(express.cookieParser());
|
||||
app.use(express.static(__dirname + '/public'));
|
||||
app.use(express.bodyParser());
|
||||
|
||||
var config = {
|
||||
aws: {
|
||||
access: 'AKIAJAJN2G22O42XJODQ',
|
||||
secret: 'Qqm8GL9vbSwrEFkQHgYouc0Ta5k0lD/xe3Xaf65Y',
|
||||
},
|
||||
};
|
||||
|
||||
// App
|
||||
|
||||
/* Homepage */
|
||||
|
Loading…
Reference in New Issue
Block a user