-
-
Save Abeyy/3d28ce405a670dbedb05852234f925f0 to your computer and use it in GitHub Desktop.
Cosmic Game
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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