From 87f0325cb623d0dff84d87c565b9e4928bceb617 Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Fri, 28 Oct 2022 11:27:56 +0200 Subject: [PATCH] weird hack to fix sitemaps --- gatsby-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 9c11513..5bba50d 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -1,11 +1,11 @@ module.exports = { siteMetadata: require("./metadata"), - pathPrefix: '__PATH_PREFIX__', + pathPrefix: './.', plugins: [ { resolve: `gatsby-plugin-runtime-path-prefix`, options: { - prefix: `__PATH_PREFIX__`, + prefix: `./.`, pattern: /^(\/(?:ipfs|ipns)\/[^/]+)/ }, },