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 563b29b commit 87cbc7bCopy full SHA for 87cbc7b
src/index.js
@@ -14,7 +14,11 @@ const app = combineMiddlewares([
14
*
15
* This is typically useful for augmenting the request before it goes to PostGraphile.
16
*/
17
+
18
+ // CORS middleware to permit cross-site API requests. Configure to taste
19
cors(),
20
21
+ // Determines the effective URL we are at if `absoluteRoutes` is set
22
(req, res, next) => {
23
if (options.absoluteRoutes) {
24
try {
0 commit comments