Skip to content

Commit 9493783

Browse files
committed
Add note
1 parent b348dbb commit 9493783

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/postgraphileOptions.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
exports.options = {
22
dynamicJson: true,
33
graphiql: false,
4+
/* If you enable GraphiQL, you must use `absoluteRoutes` and give the routes to the endpoints.:
5+
6+
absoluteRoutes: true,
7+
graphqlRoute: '/default/graphql',
8+
graphiqlRoute: '/default/graphiql',
9+
*/
410
cors: true,
511
jwtSecret: process.env.JWT_SECRET || String(Math.random()),
612
};

0 commit comments

Comments
 (0)