Skip to content

Commit

Permalink
Merge pull request #367 from ACIDKing/chore/add-fake-vk-credentials
Browse files Browse the repository at this point in the history
chore - 💻 add fake vk credentials for running the application in deve…
  • Loading branch information
kitos authored Oct 14, 2018
2 parents 39f5995 + 5996e0a commit 00a82e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source-nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ const crypto = require(`crypto`)
const R = require('ramda')
const { VK } = require('vk-io')

const { VK_GROUP_ID, VK_TOKEN } = process.env
const { VK_GROUP_ID, VK_TOKEN } =
process.env.NODE_ENV === 'production'
? process.env
: {
VK_GROUP_ID: '-94098151',
VK_TOKEN:
'a5e87d46a5e87d46a5e87d4688a58efa77aa5e8a5e87d46fe28c43a9c89a48e02cce22e',
}

let vk = new VK()

Expand Down

0 comments on commit 00a82e5

Please sign in to comment.