mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-09 22:50:53 +00:00
actually add config
This commit is contained in:
16
src/config.js
Normal file
16
src/config.js
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user