Add mixpanel config.

This commit is contained in:
Ian Webster 2014-06-30 22:20:16 -07:00
parent ca7bf4e0dc
commit e2a23644e3
2 changed files with 5 additions and 1 deletions

3
app.js
View File

@ -7,6 +7,7 @@ var express = require('express')
, spawn = require('child_process').spawn
, Stream = require('stream')
, providers = require('./providers.js')
, mixpanel_config = require('./mixpanel_config.js')
var access_keys;
try {
@ -19,7 +20,7 @@ try {
}
console.log('Loaded access keys:', access_keys);
var mpq = new mixpanel.Client('6e6e6b71ed5ada4504c52d915388d73d');
var mpq = new mixpanel.Client(mixpanel_config.api_key);
var redis = require('redis-url').connect();

View File

@ -0,0 +1,3 @@
exports = module.exports = {
api_key: 'abc123123',
}