fix mistake in React devtools (#19336)
Co-authored-by: Пономаренко Богдан <b.ponomarenko@tinkoff.ru>
Bogdan Ponomarenko committed
Jul 13, 2020 at 23:49 UTC
9ea0f6752da28a91bdb56382367e2a07390cb733
1 file changed
+4
-2
packages/react-devtools/app.html
+4
-2
@@ -151,8 +151,10 @@
151
152
try {
153
if (process.env.KEY && process.env.CERT) {
154
- options.key = fs.readFileSync(process.env.KEY);
155
- options.cert = fs.readFileSync(process.env.CERT);
154
+ options = {
155
+ key: fs.readFileSync(process.env.KEY),
156
+ cert: fs.readFileSync(process.env.CERT)
157
+ };
158
useHttps = true;
159
}
160
} catch (err) {