Merge branch 'main' into add-layouts-middleware
This commit is contained in:
@@ -2,6 +2,7 @@ const previews = require('../../lib/graphql/static/previews')
|
||||
const upcomingChanges = require('../../lib/graphql/static/upcoming-changes')
|
||||
const changelog = require('../../lib/graphql/static/changelog')
|
||||
const prerenderedObjects = require('../../lib/graphql/static/prerendered-objects')
|
||||
const prerenderedInputObjects = require('../../lib/graphql/static/prerendered-input-objects')
|
||||
const allVersions = require('../../lib/all-versions')
|
||||
|
||||
const explorerUrl = process.env.NODE_ENV === 'production'
|
||||
@@ -26,6 +27,7 @@ module.exports = function graphqlContext (req, res, next) {
|
||||
previewsForCurrentVersion: previews[graphqlVersion],
|
||||
upcomingChangesForCurrentVersion: upcomingChanges[graphqlVersion],
|
||||
prerenderedObjectsForCurrentVersion: prerenderedObjects[graphqlVersion],
|
||||
prerenderedInputObjectsForCurrentVersion: prerenderedInputObjects[graphqlVersion],
|
||||
explorerUrl,
|
||||
changelog
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user