weird hack to fix sitemaps

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

View File

@ -1,11 +1,11 @@
module.exports = { module.exports = {
siteMetadata: require("./metadata"), siteMetadata: require("./metadata"),
pathPrefix: '__PATH_PREFIX__', pathPrefix: './.',
plugins: [ plugins: [
{ {
resolve: `gatsby-plugin-runtime-path-prefix`, resolve: `gatsby-plugin-runtime-path-prefix`,
options: { options: {
prefix: `__PATH_PREFIX__`, prefix: `./.`,
pattern: /^(\/(?:ipfs|ipns)\/[^/]+)/ pattern: /^(\/(?:ipfs|ipns)\/[^/]+)/
}, },
}, },