Fix static site generation script after homepage change
This commit is contained in:
parent
cb43d379b1
commit
2f0eb5d71e
@ -13,7 +13,7 @@ cd ..
|
|||||||
echo $DEPLOY_PRIME_URL
|
echo $DEPLOY_PRIME_URL
|
||||||
cd OHIFViewer-react
|
cd OHIFViewer-react
|
||||||
export ROOT_URL=$DEPLOY_PRIME_URL/viewer/
|
export ROOT_URL=$DEPLOY_PRIME_URL/viewer/
|
||||||
sed -i "s,https://docs.ohif.org/viewer,${ROOT_URL},g" package.json
|
sed -i "s,http://localhost:5000/,${ROOT_URL},g" package.json
|
||||||
cat package.json
|
cat package.json
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user