-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Hi Don,
Thanks for the demo below, I wanted to play around in a openshift sandbox environment and used the online version to spin up some tests. Your guide is very educational and easy to follow. At first I got stuck on the URL change for quotes.js but as it was fairly optional I decided to proceed to the end and complete the tutorial without being able to adjust the fetch URL.
https://developers.redhat.com/developer-sandbox/activities/learn-kubernetes-using-red-hat-developer-sandbox-openshift
"To do this, move into your "quotesweb/src/components" directory and change the file "quotes.js". Substitute your URL in the following line of code (it's line 26):
fetch('your-url-goes-here')"
Just as I was writing this query I found out that the front-end is asking for the specific service URL to be added, and viola the random quotes appeared! Mission complete.
But it was not very clear by following the guide that adjusting the quotes.js "fetch" Url was no longer needed and input from the frontend web was the way to go. I did spend some extra time scratching my head if something had changed and why I did not have the specified component folder in my git download. Unfortunately I did not spend much time inspecting the frontend
Regards
Martin