hello… i’have a question
My ionic
-
Ionic V3
-
Using Socket.io
-
Using NodeJs for handling request from API and Socket.io
-
have 2 different files for socket.io (1. User.js, 2. Customer.js) and different url to (1. io.of(’/users’) and 2. io.of(’/customers’))
the question is, can i create dynamic url for SocketIoConfig?
in my modules.ts im using this code
const config: SocketIoConfig = { url: ‘http://192.168.43.83:3001/’, options: {} };
i want to make it dynamic and can handle 2 different file in point 4
thanks …