SAP / Webchat

The SAP Conversational AI webchat let you deploy a bot straight to a website
https://cai.tools.sap
MIT License
80 stars 200 forks source link

Webchat script in SAPUI5 #5

Open NavinAgarwalla opened 6 years ago

NavinAgarwalla commented 6 years ago

The script that we receive when we create a webchat is not operatable in SAPUI5 but it gets executed when I run it on any normal .js or .html file.

The error that is detected is:
GET http://localhost:8080/myApp/=%22https://cdn.recast.i/webchat/webchat.js%22 404 (Not Found)

dbousque commented 6 years ago

I already answered to you about that on Slack :) The issue is that your IDE/your dev environment prepends http://localhost:8080/myApp/=%22 to the URL of the script. Just make sure the URL is not prepended, and everything will work fine.