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