add config

This commit is contained in:
typpo 2012-04-06 18:33:12 -04:00
parent 47c9e7c09f
commit cbaface788

8
app.js
View File

@ -1,6 +1,7 @@
var express = require('express') var express = require('express')
, app = express.createServer() , app = express.createServer()
, nodemailer = require('nodemailer') , nodemailer = require('nodemailer')
, config = require('./config.js')
var redis; var redis;
if (process.env.NODE_ENV == 'production') if (process.env.NODE_ENV == 'production')
@ -16,13 +17,6 @@ app.use(express.cookieParser());
app.use(express.static(__dirname + '/public')); app.use(express.static(__dirname + '/public'));
app.use(express.bodyParser()); app.use(express.bodyParser());
var config = {
aws: {
access: 'AKIAJAJN2G22O42XJODQ',
secret: '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',
},
};
// App // App
/* Homepage */ /* Homepage */