Comments (5)
Resolved!!! I was missing yarn build after changing the URL in index.html. I directly ran yarn serve command after changing the URL.
from chatroom.
I am not quite sure I understand the problem.
The custom channel should be CORS enabled already:
https://github.com/scalableminds/chatroom/blob/master/rasa_utils/bot_server_channel.py#L104
As far as I can tell the bot responses already have the CORS headers present:
from chatroom.
Yeah I know that but after using that I am unable to chat with bot from another PC. However, I am able to chat with bot on the same PC.
from chatroom.
This is most likely not a CORS issues. Sounds like you configured the web frontend to connect to the host
: localhost
? Most likely you want this to be the public IP address / domain of the computer where your bot is hosted. Then you should be able to connect to the bot from another computer.
var chatroom = window.Chatroom({
host: "<some_ip_address>:5005",
container: document.querySelector(".chat-container"),
});
from chatroom.
Yeah, I know that and I am not using local address. I am using public url using ngrok tunneling.
from chatroom.
Related Issues (20)
- How to point to docker container? HOT 8
- How to use/configure this bot with RASA X?
- please update aws version with rasa merged part of chatroom HOT 3
- preserve spaces in the bot response
- Markdown support for iframe in Rasa dispatcher.utter_message
- Show Image and Text Together in a card HOT 5
- Upload a document HOT 1
- Changing Male Voice to Female voice HOT 1
- Change text language for welcome text HOT 2
- Unexpected end of JSON input HOT 1
- Unable to receive message from the slack app HOT 1
- changing the style of the widget HOT 2
- Minimal example for how to use this with rasa? HOT 3
- yarn install is throwing error HOT 2
- Hosted CSS - Is it correct? HOT 2
- Button payload is ending up as response HOT 1
- Function to Close Chatroom Widget
- speechSynthesis() without permission is no longer allowed - how to correctly deactivate? HOT 3
- How to Run it in React App?
- Type aliases can only be used in TypeScript files.ts(8008) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatroom.