This commit is contained in:
Cloudburst 2022-10-28 11:37:40 +02:00 committed by GitHub
parent 87f0325cb6
commit f68f14fbbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,13 @@
module.exports = {
siteMetadata: require("./metadata"),
pathPrefix: './.',
pathPrefix: '__GATSBY_IPFS_PATH_PREFIX__',
plugins: [
'gatsby-plugin-sitemap',
{ resolve: 'gatsby-plugin-robots-txt', options: { policy: [{userAgent: '*', allow: '/'}] } },
{
resolve: `gatsby-plugin-runtime-path-prefix`,
options: {
prefix: `./.`,
prefix: `__GATSBY_IPFS_PATH_PREFIX__`,
pattern: /^(\/(?:ipfs|ipns)\/[^/]+)/
},
},
@ -17,8 +19,6 @@ module.exports = {
},
'gatsby-plugin-postcss',
'gatsby-plugin-preact',
'gatsby-plugin-sitemap',
{ resolve: 'gatsby-plugin-robots-txt', options: { policy: [{userAgent: '*', allow: '/'}] } },
{
resolve: 'gatsby-source-filesystem',
options: {