This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const normalizeHeaderCase = require("header-case-normalizer"); | |
| const defaultResponse = `This API enables relay requests to anywhere. | |
| Usage: | |
| https://eno9s1l2xztg49j.m.pipedream.net/ Shows help | |
| https://eno9s1l2xztg49j.m.pipedream.net/<url> Create a request to <url>, and relay <url> response in the response. | |
| ]Source code : https://pipedream.com/@theowenyoung/http-relay-p_JZCLbG | |
| ` | |
| function parseURL(req_url) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| exports.sourceNodes = function () { | |
| // I know I can't query the graphql data in `sourceNodes` lifecycle, just a example. | |
| // My question is which lifecycle can I query the data, and create new node before createPages | |
| // like this: | |
| const allMarkdownRemarkResult = await graphql(` |
NewerOlder