From b864d8434bc319fdf08ba84ac700ce0cf12650c8 Mon Sep 17 00:00:00 2001 From: Egor Kuzin Date: Sun, 16 Jul 2023 11:45:06 +0300 Subject: [PATCH] feat: add public url variable --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4f525906f..6608d5491 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build", + "build": "PUBLIC_URL=/unit-demo-cra/ react-scripts build", "eject": "react-scripts eject", "test": "react-scripts test", "e2e": "playwright test --project=chromium",