Skip to content

Commit

Permalink
Create stackbit.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
moehami authored Oct 22, 2024
1 parent 8167053 commit b59cb8d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions stackbit.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// stackbit.config.js
import { ContentfulContentSource } from "@stackbit/cms-contentful";

export default {
contentSources: [
new ContentfulContentSource({
spaceId: process.env.CONTENTFUL_SPACE_ID,
environment: process.env.CONTENTFUL_ENVIRONMENT,
previewToken: process.env.CONTENTFUL_PREVIEW_TOKEN,
accessToken: process.env.CONTENTFUL_MANAGEMENT_TOKEN
})
]
// ...
};

0 comments on commit b59cb8d

Please sign in to comment.