Skip to content

Commit

Permalink
fix mistake in React devtools (#19336)
Browse files Browse the repository at this point in the history
Co-authored-by: Пономаренко Богдан <[email protected]>
  • Loading branch information
b-ponomarenko and Пономаренко Богдан authored Jul 13, 2020
1 parent fbc6386 commit 9ea0f67
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/react-devtools/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@

try {
if (process.env.KEY && process.env.CERT) {
options.key = fs.readFileSync(process.env.KEY);
options.cert = fs.readFileSync(process.env.CERT);
options = {
key: fs.readFileSync(process.env.KEY),
cert: fs.readFileSync(process.env.CERT)
};
useHttps = true;
}
} catch (err) {
Expand Down

0 comments on commit 9ea0f67

Please sign in to comment.