From 568755af3cde7e13a44079597ed74c6839092a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D0=BD=D0=BE=D0=BC=D0=B0=D1=80=D0=B5=D0=BD?= =?UTF-8?q?=D0=BA=D0=BE=20=D0=91=D0=BE=D0=B3=D0=B4=D0=B0=D0=BD?= Date: Mon, 13 Jul 2020 21:07:40 +0300 Subject: [PATCH] fix mistake in React devtools --- packages/react-devtools/app.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/react-devtools/app.html b/packages/react-devtools/app.html index c822764bea5f0..c40b72ab65ff9 100644 --- a/packages/react-devtools/app.html +++ b/packages/react-devtools/app.html @@ -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) {