Skip to content

Instantly share code, notes, and snippets.

@sumitkharche
Created Oct 14, 2021
Embed
What would you like to do?
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