Skip to content

Commit

Permalink
global bot
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanPaulvanderHam authored Mar 22, 2024
1 parent 1abda2e commit 53179ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
// Tokens are more secure. To learn about the differences between secrets and tokens
// and to understand the risks associated with using secrets, visit https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-direct-line-3-0-authentication?view=azure-bot-service-4.0

const res = await fetch('https://webchat-mockbot.azurewebsites.net/directline/token', { method: 'POST' });
const res = await fetch('https://webchat.botframework.com/api/tokens', { method: 'POST' });
const { token } = await res.json();

window.WebChat.renderWebChat(
Expand Down

0 comments on commit 53179ed

Please sign in to comment.