Fix static site icon URL
This commit is contained in:
1 parent
6b6237cdf6
commit
26932612f8
11 files changed
+15
-21
No files matched your search
@@ -12,7 +12,7 @@ cd ..
|
||||
# Build and copy the StandaloneViewer into the static directory
|
||||
echo $DEPLOY_PRIME_URL
|
||||
cd Packages-react/ohif-viewer
|
||||
export ROOT_URL=$DEPLOY_PRIME_URL/viewer
|
||||
export ROOT_URL=$DEPLOY_PRIME_URL/demo
|
||||
|
||||
cat package.json
|
||||
yarn install
|
||||
@@ -22,8 +22,8 @@ cd example
|
||||
yarn install
|
||||
yarn run prepare
|
||||
sed -i "s,http://localhost:5000,${ROOT_URL},g" index.html
|
||||
sed -i 's,"routerBasename": "/","routerBasename": "/viewer",g' index.html
|
||||
sed -i 's,"routerBasename": "/","routerBasename": "/demo",g' index.html
|
||||
rm -rf node_modules
|
||||
mkdir ../../../docs/_book/viewer/
|
||||
cp -R * ../../../docs/_book/viewer/
|
||||
mkdir ../../../docs/_book/demo/
|
||||
cp -R * ../../../docs/_book/demo/
|
||||
cp ../../../_redirects ../../../docs/_book/_redirects
|
||||
Reference in new issue
Block a user