actually add config

This commit is contained in:
Cihan Bebek
2017-07-06 13:32:52 +03:00
parent 5be8ba8cf4
commit 7395887e1b

16
src/config.js Normal file
View File

@@ -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;
}