mirror of
https://github.com/recloudstream/website.git
synced 2024-08-15 03:18:45 +00:00
fix?
This commit is contained in:
parent
87f0325cb6
commit
f68f14fbbf
1 changed files with 4 additions and 4 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue