From 643153a7954b4efd3b3055d7eb7652f3560f1fbd Mon Sep 17 00:00:00 2001 From: DarioDiem <40043011+DarioDiem@users.noreply.github.com> Date: Thu, 14 Mar 2019 12:42:15 -0600 Subject: [PATCH] feat(create-remote-file-node): add `url` field to downloaded file nodes (#12582) ## Description ## Related Issues --- src/create-remote-file-node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/create-remote-file-node.js b/src/create-remote-file-node.js index 9f88fa19d1974..330da31e12c55 100644 --- a/src/create-remote-file-node.js +++ b/src/create-remote-file-node.js @@ -253,6 +253,7 @@ async function processRemoteNode({ // Create the file node. const fileNode = await createFileNode(filename, createNodeId, {}) fileNode.internal.description = `File "${url}"` + fileNode.url = url fileNode.parent = parentNodeId // Override the default plugin as gatsby-source-filesystem needs to // be the owner of File nodes or there'll be conflicts if any other