Skip to content

Instantly share code, notes, and snippets.

@Abeyy

Abeyy/config.js Secret

Last active August 29, 2018 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Abeyy/3d28ce405a670dbedb05852234f925f0 to your computer and use it in GitHub Desktop.
Save Abeyy/3d28ce405a670dbedb05852234f925f0 to your computer and use it in GitHub Desktop.
Cosmic Game
import Cosmic from 'cosmicjs'
const api = Cosmic()
const bucket = api.bucket({
slug: process.env.COSMIC_BUCKET || 'cosmic-game',
read_key: process.env.COSMIC_READ_KEY,
write_key: process.env.COSMIC_WRITE_KEY
})
export default bucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment