diff --git a/packages/server/isAllowedGatsbyPath.js b/packages/server/isAllowedGatsbyPath.js index 9cba21e..c479624 100644 --- a/packages/server/isAllowedGatsbyPath.js +++ b/packages/server/isAllowedGatsbyPath.js @@ -101,7 +101,8 @@ module.exports.isAllowedGatsbyPath = function isAllowedGatsbyPath(filePath) { // Allow access to the static query results // https://github.com/gatsbyjs/gatsby/pull/25723/files#diff-917ba78a52f29b1a1fe42be34d81fc83R64 - if (pathWithoutQuery.match(/^\/static\/d\/\d+\.json$/)) { + // https://github.com/gatsbyjs/gatsby/pull/26242 + if (pathWithoutQuery.match(/^\/page-data\/sq\/d\/\d+\.json$/)) { return true; }