Skip to content

Commit

Permalink
fix mistake in React devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
Пономаренко Богдан committed Jul 13, 2020
1 parent fe19b42 commit 568755a
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 568755a

Please sign in to comment.