We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 400fd4a commit 2c22c55Copy full SHA for 2c22c55
packages/gatsby/src/commands/data-explorer.js
@@ -3,15 +3,12 @@
3
const express = require(`express`)
4
const graphqlHTTP = require(`express-graphql`)
5
const { store } = require(`../redux`)
6
-const bootstrap = require(`../bootstrap`)
7
+// Note: the store must exist already. Create it with `gatsby build`.
8
module.exports = async (program: any) => {
9
let { port, host } = program
10
port = typeof port === `string` ? parseInt(port, 10) : port
11
12
- // bootstrap to ensure schema is in the store
13
- await bootstrap(program)
14
-
15
const app = express()
16
app.use(
17
`/`,
0 commit comments