When using Not Found, I cannot access GraphQL Playground
ilyaskarim opened this issue · 0 comments
ilyaskarim commented
When using Not Found, I cannot access GraphQL Playground. I have a module that has a Rest API route:
export default {
name: "NotFound",
useDatabase: false,
graphql: {
crud: {
query: {
generate: false,
operations: "*",
},
mutation: {
generate: false,
operations: "*",
},
},
schema: ``,
mutation: {
schema: ``,
resolvers: {},
},
query: {
schema: ``,
resolvers: {},
},
},
restApi: {
endpoints: [
{
path: "*",
methodType: "get",
handler: function (req, res) {
res.render("app/includes/errors/404");
},
},
],
},
};
This fails to access GraphQL playground.