mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Undo mocks
This commit is contained in:
parent
27cd718342
commit
70320f3c04
@ -52,7 +52,7 @@ const createServer = (options) => {
|
||||
schema: schema,
|
||||
tracing: true,
|
||||
middlewares: middleware(schema),
|
||||
mocks: true
|
||||
mocks: (process.env.MOCK === 'true') ? mocks : false
|
||||
}
|
||||
const server = new GraphQLServer(Object.assign({}, defaults, options))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user