Skip to content

Commit 87cbc7b

Browse files
authored
Add notes
1 parent 563b29b commit 87cbc7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ const app = combineMiddlewares([
1414
*
1515
* This is typically useful for augmenting the request before it goes to PostGraphile.
1616
*/
17+
18+
// CORS middleware to permit cross-site API requests. Configure to taste
1719
cors(),
20+
21+
// Determines the effective URL we are at if `absoluteRoutes` is set
1822
(req, res, next) => {
1923
if (options.absoluteRoutes) {
2024
try {

0 commit comments

Comments
 (0)