1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

Set PUBLIC_URL env variable for production build #57

This commit is contained in:
Sonja Happ 2021-01-08 14:37:10 +01:00
parent 631bb7d57c
commit 360f81200e

View file

@ -69,7 +69,8 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "PUBLIC_URL=https://villas.k8s.eonerc.rwth-aachen.de/ react-scripts build",
"build-localhost": "PUBLIC_URL=/ react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},