Skip to content

Commit

Permalink
Update createRemoteFileNode auth options. (gatsbyjs#5898)
Browse files Browse the repository at this point in the history
It looks like the example for `createRemoteFileNode` has the wrong `auth` keys. I've updated them to match what `createRemoteFileNode` is expecting.
  • Loading branch information
zhawkins authored and m-allanson committed Jun 15, 2018
1 parent 16e616e commit abf81e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ createRemoteFileNode({

// OPTIONAL
// Adds htaccess authentication to the download request if passed in.
auth: { user: `USER`, password: `PASSWORD` },
auth: { htaccess_user: `USER`, htaccess_pass: `PASSWORD` },
});
```

Expand Down

0 comments on commit abf81e8

Please sign in to comment.