Skip to content
This repository was archived by the owner on Aug 31, 2020. It is now read-only.

Commit 2fe2e9c

Browse files
author
lepon01
committed
Access-Control-Allow-Origin *
1 parent b4922bd commit 2fe2e9c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

gatsby-config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,16 @@ module.exports = {
5858
'gatsby-plugin-sharp',
5959
'gatsby-plugin-catch-links',
6060
'gatsby-plugin-offline',
61-
'gatsby-plugin-netlify',
61+
{
62+
resolve: 'gatsby-plugin-netlify',
63+
options: {
64+
headers: {
65+
'/*': [
66+
'Access-Control-Allow-Origin: *'
67+
],
68+
}
69+
}
70+
},
6271
'gatsby-plugin-sitemap'
6372
],
6473
};

0 commit comments

Comments
 (0)