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

View file

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