Skip to content

Commit

Permalink
fix: Fixed ws name
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui committed Sep 18, 2024
1 parent 276c425 commit b3acec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webSockets/WebSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const WebSocketComponent = props => {
const [message, setMessage] = useState('');

useEffect(() => {
const socket = new WebSocket('ws://127.0.0.1:8000/ws/shared-data/');
const socket = new WebSocket('ws://127.0.0.1:8000/ws/notifications/');

socket.onopen = () => {
console.log('WebSocket connection opened');
Expand Down

0 comments on commit b3acec5

Please sign in to comment.