This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
57 lines (57 loc) · 1.75 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
module.exports = {
siteMetadata: {
siteUrl: `https://www.seongland.com`,
},
plugins: [
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "UA-97880882-3",
head: true,
},
},
`gatsby-plugin-react-helmet-async`,
{
resolve: "gatsby-plugin-robots-txt",
options: {
host: "https://www.seongland.com",
sitemap: "https://www.seongland.com/sitemap.xml",
policy: [{ userAgent: "*", allow: "/" }],
},
},
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: ["G-7GYN10MKSW"],
},
},
{
resolve: `gatsby-plugin-layout`,
options: {
component: require.resolve(`./src/components/layout/default`),
},
},
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-csp`,
options: {
disableOnDev: true,
reportOnly: false,
mergeScriptHashes: true,
mergeStyleHashes: false,
mergeDefaultDirectives: true,
directives: {
"script-src":
"'self' *.cloudflare.com www.googletagmanager.com www.google-analytics.com static.cloudflareinsights.com 'unsafe-inline'",
"style-src-elem": "'self' data: 'unsafe-inline'",
"style-src": "'self' 'unsafe-inline'",
"font-src": "'self' fonts.gstatic.com 'unsafe-inline'",
"connect-src":
"'self' *.cloudflare.com www.googletagmanager.com *.seongland.com cloudflareinsights.com stats.g.doubleclick.net www.google-analytics.com 'unsafe-inline'",
"frame-src": "'self' 'unsafe-inline'",
"img-src": "'self' www.google-analytics.com 'unsafe-inline'",
},
},
},
],
}