-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
36 lines (36 loc) · 887 Bytes
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require('dotenv').config();
module.exports = {
siteMetadata: {
title: `My Cloudinary Images`,
description: `A simple demo displaying my images from a cloudinary account`,
author: `uvacoder`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/upload`,
},
},
{
resolve: 'gatsby-transformer-cloudinary',
options: {
cloudName: `iarenotamnot`,
apiKey: `474614758638643`,
apiSecret: `zro75o_Ij8abg4fCFOfCpR4ogSg`,
uploadFolder: 'Gatsby-images',
}
},
{
resolve: `gatsby-source-cloudinary`,
options: {
cloudName: `iarenotamnot`,
apiKey: `474614758638643`,
apiSecret: `zro75o_Ij8abg4fCFOfCpR4ogSg`,
resourceType: `image`,
}
}
],
}