Add mixpanel config.
This commit is contained in:
parent
ca7bf4e0dc
commit
e2a23644e3
3
app.js
3
app.js
@ -7,6 +7,7 @@ var express = require('express')
|
|||||||
, spawn = require('child_process').spawn
|
, spawn = require('child_process').spawn
|
||||||
, Stream = require('stream')
|
, Stream = require('stream')
|
||||||
, providers = require('./providers.js')
|
, providers = require('./providers.js')
|
||||||
|
, mixpanel_config = require('./mixpanel_config.js')
|
||||||
|
|
||||||
var access_keys;
|
var access_keys;
|
||||||
try {
|
try {
|
||||||
@ -19,7 +20,7 @@ try {
|
|||||||
}
|
}
|
||||||
console.log('Loaded access keys:', access_keys);
|
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();
|
var redis = require('redis-url').connect();
|
||||||
|
|
||||||
|
3
mixpanel_config_example.js
Normal file
3
mixpanel_config_example.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
exports = module.exports = {
|
||||||
|
api_key: 'abc123123',
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user