log tthe upsteam socket
This commit is contained in:
@@ -30,6 +30,9 @@ app.use(bodyParser.json({type: 'application/vnd.api+json'}))
|
|||||||
//const socket = io.connect(process.env.SOCKET_URL);
|
//const socket = io.connect(process.env.SOCKET_URL);
|
||||||
const socket = io.connect("http://10.10.10.13:5005");
|
const socket = io.connect("http://10.10.10.13:5005");
|
||||||
|
|
||||||
|
logger.info('***** Server process.env.SOCKET_URL ********* ', process.env.SOCKET_URL);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// respond with "hello world" when a GET request is made to the homepage
|
// respond with "hello world" when a GET request is made to the homepage
|
||||||
app.get('/broadcast/general', (req, res) => {
|
app.get('/broadcast/general', (req, res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user