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 63bd09e commit 46fccfeCopy full SHA for 46fccfe
src/postgraphileOptions.js
@@ -1,18 +1,18 @@
1
exports.options = {
2
dynamicJson: true,
3
+ cors: true,
4
+ jwtSecret: process.env.JWT_SECRET || String(Math.random()),
5
graphiql: false,
6
externalUrlBase: '/default',
7
-
8
/* If you want to enable GraphiQL, you must use `externalUrlBase` so PostGraphile
9
* knows where to tell the browser to find the assets. Doing this is
10
* strongly discouraged, you should use an external GraphQL client instead.
11
12
13
graphiql: true,
14
+ enhanceGraphiql: true,
15
graphqlRoute: '/',
16
graphiqlRoute: '/graphiql',
17
*/
- cors: true,
- jwtSecret: process.env.JWT_SECRET || String(Math.random()),
18
};
0 commit comments