Skip to content

Instantly share code, notes, and snippets.

@sumitkharche
Created October 14, 2021 16:09
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 sumitkharche/c6eecbdd859878a4d7863a9e8bdcc8a6 to your computer and use it in GitHub Desktop.
Save sumitkharche/c6eecbdd859878a4d7863a9e8bdcc8a6 to your computer and use it in GitHub Desktop.
import dotenv from 'dotenv';
dotenv.config();
export const apiURL = process.env.COSMIC_API_URL;
export const bucketSlug = process.env.COSMIC_BUCKET_SLUG;
export const readKey = process.env.COSMIC_READ_KEY;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment