mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-03-26 22:39:31 +08:00
Convert all bit.ly links from http to https (#6239)
This commit is contained in:
committed by
Ian Sutherland
parent
0b8cfa1cca
commit
d57fd37d2d
2
packages/react-dev-utils/printBuildError.js
vendored
2
packages/react-dev-utils/printBuildError.js
vendored
@@ -37,7 +37,7 @@ module.exports = function printBuildError(err) {
|
||||
} catch (ignored) {
|
||||
console.log('Failed to minify the bundle.', err);
|
||||
}
|
||||
console.log('Read more here: http://bit.ly/CRA-build-minify');
|
||||
console.log('Read more here: https://bit.ly/CRA-build-minify');
|
||||
} else {
|
||||
console.log((message || err) + '\n');
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ function printHostingInstructions(
|
||||
console.log();
|
||||
console.log('Find out more about deployment here:');
|
||||
console.log();
|
||||
console.log(` ${chalk.yellow('http://bit.ly/CRA-deploy')}`);
|
||||
console.log(` ${chalk.yellow('https://bit.ly/CRA-deploy')}`);
|
||||
console.log();
|
||||
}
|
||||
|
||||
|
||||
2
packages/react-scripts/scripts/start.js
vendored
2
packages/react-scripts/scripts/start.js
vendored
@@ -72,7 +72,7 @@ if (process.env.HOST) {
|
||||
`If this was unintentional, check that you haven't mistakenly set it in your shell.`
|
||||
);
|
||||
console.log(
|
||||
`Learn more here: ${chalk.yellow('http://bit.ly/CRA-advanced-config')}`
|
||||
`Learn more here: ${chalk.yellow('https://bit.ly/CRA-advanced-config')}`
|
||||
);
|
||||
console.log();
|
||||
}
|
||||
|
||||
@@ -8,5 +8,5 @@ ReactDOM.render(<App />, document.getElementById('root'));
|
||||
|
||||
// If you want your app to work offline and load faster, you can change
|
||||
// unregister() to register() below. Note this comes with some pitfalls.
|
||||
// Learn more about service workers: http://bit.ly/CRA-PWA
|
||||
// Learn more about service workers: https://bit.ly/CRA-PWA
|
||||
serviceWorker.unregister();
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// resources are updated in the background.
|
||||
|
||||
// To learn more about the benefits of this model and instructions on how to
|
||||
// opt-in, read http://bit.ly/CRA-PWA
|
||||
// opt-in, read https://bit.ly/CRA-PWA
|
||||
|
||||
const isLocalhost = Boolean(
|
||||
window.location.hostname === 'localhost' ||
|
||||
@@ -51,7 +51,7 @@ export function register(config?: Config) {
|
||||
navigator.serviceWorker.ready.then(() => {
|
||||
console.log(
|
||||
'This web app is being served cache-first by a service ' +
|
||||
'worker. To learn more, visit http://bit.ly/CRA-PWA'
|
||||
'worker. To learn more, visit https://bit.ly/CRA-PWA'
|
||||
);
|
||||
});
|
||||
} else {
|
||||
@@ -79,7 +79,7 @@ function registerValidSW(swUrl: string, config?: Config) {
|
||||
// content until all client tabs are closed.
|
||||
console.log(
|
||||
'New content is available and will be used when all ' +
|
||||
'tabs for this page are closed. See http://bit.ly/CRA-PWA.'
|
||||
'tabs for this page are closed. See https://bit.ly/CRA-PWA.'
|
||||
);
|
||||
|
||||
// Execute callback
|
||||
|
||||
2
packages/react-scripts/template/src/index.js
vendored
2
packages/react-scripts/template/src/index.js
vendored
@@ -8,5 +8,5 @@ ReactDOM.render(<App />, document.getElementById('root'));
|
||||
|
||||
// If you want your app to work offline and load faster, you can change
|
||||
// unregister() to register() below. Note this comes with some pitfalls.
|
||||
// Learn more about service workers: http://bit.ly/CRA-PWA
|
||||
// Learn more about service workers: https://bit.ly/CRA-PWA
|
||||
serviceWorker.unregister();
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// resources are updated in the background.
|
||||
|
||||
// To learn more about the benefits of this model and instructions on how to
|
||||
// opt-in, read http://bit.ly/CRA-PWA
|
||||
// opt-in, read https://bit.ly/CRA-PWA
|
||||
|
||||
const isLocalhost = Boolean(
|
||||
window.location.hostname === 'localhost' ||
|
||||
@@ -43,7 +43,7 @@ export function register(config) {
|
||||
navigator.serviceWorker.ready.then(() => {
|
||||
console.log(
|
||||
'This web app is being served cache-first by a service ' +
|
||||
'worker. To learn more, visit http://bit.ly/CRA-PWA'
|
||||
'worker. To learn more, visit https://bit.ly/CRA-PWA'
|
||||
);
|
||||
});
|
||||
} else {
|
||||
@@ -71,7 +71,7 @@ function registerValidSW(swUrl, config) {
|
||||
// content until all client tabs are closed.
|
||||
console.log(
|
||||
'New content is available and will be used when all ' +
|
||||
'tabs for this page are closed. See http://bit.ly/CRA-PWA.'
|
||||
'tabs for this page are closed. See https://bit.ly/CRA-PWA.'
|
||||
);
|
||||
|
||||
// Execute callback
|
||||
|
||||
Reference in New Issue
Block a user