Skip to content

Commit

Permalink
Updated by github actions from guide-rest-client-reactjs (#3496)
Browse files Browse the repository at this point in the history
Co-authored-by: GuidesBot <GuidesBot@OpenLiberty.io>
  • Loading branch information
GuidesBot and GuidesBot authored Oct 9, 2024
1 parent 1e5c586 commit b5fd35f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ The ***finish*** directory in the root of this guide contains the finished appli
In this IBM cloud environment, you need to update the URL to access the ***artists.json***. Run the following commands to go to the ***finish*** directory and update the files where the URL has been specified:
```bash
cd finish
sed -i 's=http://localhost:9080/artists='"https://${USERNAME}-9080.$(echo $TOOL_DOMAIN | sed 's/\.labs\./.proxy./g')/artists"'=' /home/project/guide-rest-client-reactjs/finish/src/main/webapp/_next/static/chunks/app/page-37714928d1f43656.js
mvn process-resources
sed -i 's=http://localhost:9080/artists='"https://${USERNAME}-9080.$(echo $TOOL_DOMAIN | sed 's/\.labs\./.proxy./g')/artists"'=' /home/project/guide-rest-client-reactjs/finish/src/main/webapp/_next/static/chunks/app/page-*.js
sed -i 's=http://localhost:9080/artists='"https://${USERNAME}-9080.$(echo $TOOL_DOMAIN | sed 's/\.labs\./.proxy./g')/artists"'=' /home/project/guide-rest-client-reactjs/finish/src/main/frontend/src/app/ArtistTable.jsx
```

Expand Down

0 comments on commit b5fd35f

Please sign in to comment.