Closed paranoid-android closed 7 years ago
Are you sure Socket.io paths is what you are looking for? To me this seems like two separate services that you then connect to via Feathers on the client.
As it stands right now you are not using any of Feathers functionality which you can of course do but it kind of defeats the purpose 😉 I recommend to go through the chat guide to get an idea how all those things fit together.
Steps to reproduce
Hello, First, thank you for creating this module for Feathers. I have an app that has a number of pages. Only two of my pages require sockets. I need to have two different socket paths. For example:
In an attempt to do this, I have the following Feathers app setup:
In my routes file, I have paths like:
In my app, I then try to connect via the socket.io client library like this:
Expected behavior
The client side app should successfully connect via a socket over the desired path. That desired path is /customer-support/chat
Actual behavior
The client side app never connects to the server.
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): feathers-socketio: "2.0.0"
NodeJS version: v.6.9.4
Operating System: WIndows 10
Browser Version: Google Chrome
React Native Version: N/A
Module Loader: N/A