Local environment web socket not working
I have spinned up all the novu services locally and got the spinned up message.
Web: http://localhost:4200
API: http://localhost:3000
WS: http://localhost:3002
Worker: http://localhost:3004
Everything worked fine except the web socket. I created and triggered a new workflow to in-app.
I can view and mark read/unread notifications in my React app using the
@novu/notification-center
library.
But I have to refresh my page everytime. When a notification is sent, I don't immediately see it in the notification center.
Here's my code
Can someone help? Thanks!3 Replies
Sorry, this request does not comply with MEE6 content policy. Modify it and try again.
I don't know what MEE6 content policy is.
Hi @yellowbird_33747
Do you see any error in console or network tab in browser related to websocket requests