Skip to content

Commit

Permalink
chore: change useWebSocket online server address
Browse files Browse the repository at this point in the history
  • Loading branch information
brickspert committed Jan 21, 2022
1 parent f629308 commit b0a9f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hooks/src/useWebSocket/demo/demo1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default () => {
const messageHistory = useRef<any[]>([]);

const { readyState, sendMessage, latestMessage, disconnect, connect } = useWebSocket(
'wss://echo.websocket.org',
'wss://demo.piesocket.com/v3/channel_1?api_key=oCdCMcMPQpbvNjUIzqtvF1d2X2okWpDQj4AwARJuAgtjhzKxVEjQU6IdCjwm&notify_self',
);

messageHistory.current = useMemo(
Expand Down

0 comments on commit b0a9f75

Please sign in to comment.