Test env variable: console.log(process.env.REACT_APP_TEST_KEY); PUBLIC_URL=http://127.0.0.1/play-nine Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted https://medium.com/@svinkle/how-to-deploy-a-react-app-to-a-subdirectory-f694d46427c1 https://stackoverflow.com/questions/49429906/how-should-i-configure-create-react-app-to-serve-app-from-subdirectory https://skryvets.com/blog/2018/09/20/an-elegant-solution-of-deploying-react-app-into-a-subdirectory/