From 53179ed69ff35e278ca2116e419167c6e0dab34c Mon Sep 17 00:00:00 2001 From: JeanPaulvanderHam <117824394+JeanPaulvanderHam@users.noreply.github.com> Date: Fri, 22 Mar 2024 19:56:18 +0100 Subject: [PATCH] global bot --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index a74c96d..78afb4b 100644 --- a/index.html +++ b/index.html @@ -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(