Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Oct 18, 2023
1 parent 8ad716b commit da84844
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
2 changes: 1 addition & 1 deletion petstore/petstoreapp/soulmachines-react-app/.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# this usually doesn't need to be changed for standard projects
REACT_APP_SESSION_SERVER="dh.soulmachines.cloud"
# API key can be configured in DDNA prefs, good for basic auth when using a supported NLP
REACT_APP_API_KEY="eyJzb3VsSWQiOiJkZG5hLW1pY3Jvc29mdC0yMDIzLS1yYWFkLWNubi1haS1ib3QiLCJhdXRoU2VydmVyIjoiaHR0cHM6Ly9kaC5hei5zb3VsbWFjaGluZXMuY2xvdWQvYXBpL2p3dCIsImF1dGhUb2tlbiI6ImFwaWtleV92MV85Yjg5YWI3OC1hN2U3LTRhMTItYWY1YS00YWZjNTQ0MmYwOWMifQ=="
REACT_APP_API_KEY="eyJzb3VsSWQiOiJkZG5hLW1pY3Jvc29mdC0yMDIzLS1henVyZS1wZXQtc3RvcmUiLCJhdXRoU2VydmVyIjoiaHR0cHM6Ly9kaC5hei5zb3VsbWFjaGluZXMuY2xvdWQvYXBpL2p3dCIsImF1dGhUb2tlbiI6ImFwaWtleV92MV84NzE5ZWVhYi0wOWExLTRhZTgtYjFjNi1mMzFmNTViZmY4OTQifQ=="
# endpoint to token server corresponding to project's persona
# token server auth is used when an orchestration server is being used to handle NLP
REACT_APP_TOKEN_URL=https://example.com/auth/authorize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public String soulmachines(Model model) throws URISyntaxException {
logger.info(String.format("PetStoreApp /soulmachines requested for %s, routing to soulmachines view...",
this.sessionUser.getName()));

return "index";
return "soulmachines";
}

@GetMapping(value = "/intelligence")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,10 @@

<body>
<div lang="en" th:replace="fragments/header :: header"></div>
<div
class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<h1 class="display-4">Welcome to the Azure Pet Store</h1>
<h1 class="display-4" style="font-size:2.5rem;" th:if="${!#strings.isEmpty(signalRNegotiationURL)}">
There is currently <span id="currentUsers" style="font-weight:500;color:#3C7BB7;" th:text="${currentUsersOnSite}"></span> live shoppers online via <a href="https://azure.microsoft.com/en-us/services/signalr-service/" target="blank"><img class="signalR" src="content/SignalR-logo.png" /></a></h1>
<h2 class="subHeader">Start exploring & learning Azure today!</h2>
<p>Begin by shopping for products below!</p>
<div id="banner">
<center>
<figure>
<img class="banner" src="content/banner.png" />
</figure>
</center>
</div>
<script
src="https://static.soulmachines.com/widget-snippet-1.12.0.min.js"
data-sm-api-key="eyJzb3VsSWQiOiJkZG5hLW1pY3Jvc29mdC0tdGVzdGluZy1vcGVuYWktaW50ZWdyYXRpb24iLCJhdXRoU2VydmVyIjoiaHR0cHM6Ly9kaC5zb3VsbWFjaGluZXMuY2xvdWQvYXBpL2p3dCIsImF1dGhUb2tlbiI6ImFwaWtleV92MV8zZTJjZWU2MS1hMGM5LTQ5N2UtYmM0Mi0zMDVhMTkzMmNhODIifQ=="
data-sm-position="center"
data-sm-greeting="Welcome to the Azure Pet Store, How can I help?"
data-sm-layout="fullFrame"
data-sm-profile-picture="https://assets.cdn.soulmachines.cloud/AvatarCoverImages/image-sam-l.jpg">
</script>
</div>

<iframe src="static/index.html" style="top:0; left:0; bottom:0; right:0; width:100%; height:600px; border:none; margin:0; padding:0;">
Your browser doesn't support iframes
</iframe>

</div>
<div lang="en" th:replace="fragments/footer :: footer"></div>
Expand Down

0 comments on commit da84844

Please sign in to comment.