From e2a23644e3814a2e4ddf68e631686a846eeabb08 Mon Sep 17 00:00:00 2001 From: Ian Webster Date: Mon, 30 Jun 2014 22:20:16 -0700 Subject: [PATCH] Add mixpanel config. --- app.js | 3 ++- mixpanel_config_example.js | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 mixpanel_config_example.js diff --git a/app.js b/app.js index 1bceb45..4e284ff 100644 --- a/app.js +++ b/app.js @@ -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(); diff --git a/mixpanel_config_example.js b/mixpanel_config_example.js new file mode 100644 index 0000000..0658a08 --- /dev/null +++ b/mixpanel_config_example.js @@ -0,0 +1,3 @@ +exports = module.exports = { + api_key: 'abc123123', +}