mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
HTTPS-ify lots of URLs, update some to their newer homes (#1157)
This matters for user security. I didn't touch blog posts & pages related to past conferences. The `content/docs` could be HTTPS-ified as well but it contains lots of HTTP links so maybe that'd be best done in a separate PR.
This commit is contained in:
committed by
Alex Krolick
parent
b1588024e6
commit
06a8850b2f
@@ -1,7 +1,7 @@
|
||||
const request = require('request-promise');
|
||||
|
||||
const errorCodesUrl =
|
||||
'http://raw.githubusercontent.com/facebook/react/master/scripts/error-codes/codes.json';
|
||||
'https://raw.githubusercontent.com/facebook/react/master/scripts/error-codes/codes.json';
|
||||
|
||||
exports.sourceNodes = async ({actions}) => {
|
||||
const {createNode} = actions;
|
||||
|
||||
Reference in New Issue
Block a user