From 7395887e1bfaa4964cb470d50740ea661e2aa74b Mon Sep 17 00:00:00 2001 From: Cihan Bebek Date: Thu, 6 Jul 2017 13:32:52 +0300 Subject: [PATCH] actually add config --- src/config.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/config.js diff --git a/src/config.js b/src/config.js new file mode 100644 index 0000000..49d2ed5 --- /dev/null +++ b/src/config.js @@ -0,0 +1,16 @@ + +var development = { + stripe: { + publicKey: "pk_test_OmNve9H1OuORlmD4rblpjgzh" + } +} + +var production = { + stripe: { + publicKey: "pk_live_xrnwdLNXbt20LMxpIDffJnnC" + } +} + +module.exports = function() { + return process.env.ENV == 'development' ? development : production; +} \ No newline at end of file