You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If this bot using azure web app, we need to replace '/api/messages'
46
+
if ($endpoint-like"*/api/messages") {
47
+
$endpoint=$endpoint.Replace("/api/messages","")
48
+
}
49
+
Write-Host"endpoint: $endpoint"
50
+
51
+
# 3. Generate Link
52
+
Write-Host"## 3. Generate Link"
47
53
Write-Host-ForegroundColor Green "`n`n### If you were lucky and there were no errors in between your Geo Distributed Bot is ready!`n### If you are just testing you can use this link to open a WebChat to your Bot from any browser.`n### E.g. if you want to test it from different VM's or VPN connections."
48
-
Write-Host-ForegroundColor Red "### Do not use this link if you want to go to production since the Directline Key will get exposed on the network (query params are not encrypted):"
49
-
Write-Host-ForegroundColor Red "### https://h2floh.github.io/GeoDistributedAzureBot/WebChat/index.html$queryparams"
50
-
Write-Host-ForegroundColor Yellow "###`n### Use this link on your local computer (if you cloned the repo to your local computer) in order to not expose your Directline Key:"
0 commit comments