From 5a73e14007f5cf81456f0f07c69bf140a8e91372 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 18 Apr 2022 09:40:30 +0200 Subject: [PATCH] fix openssl legacy issue --- healthy-ui/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/healthy-ui/package.json b/healthy-ui/package.json index 2aa8032..4817a02 100644 --- a/healthy-ui/package.json +++ b/healthy-ui/package.json @@ -16,8 +16,8 @@ "typescript": "^3.9.7" }, "scripts": { - "start": "chmod +x ./env.sh && ./env.sh && cp env-config.js ./public/ && react-scripts start", - "build": "react-scripts build", + "start": "chmod +x ./env.sh && ./env.sh && cp env-config.js ./public/ && react-scripts --openssl-legacy-provider start", + "build": "react-scripts --openssl-legacy-provider build", "test": "react-scripts test", "eject": "react-scripts eject" },