Skip to content

Commit

Permalink
feat: change socket url
Browse files Browse the repository at this point in the history
  • Loading branch information
Rassl committed Sep 27, 2024
1 parent 0c354e2 commit deda352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export const App = () => {
])

useEffect(() => {
const ws = new WebSocket('wss://staging.stakwork.com/cable')
const ws = new WebSocket('wss://staging.stakwork.com/cable?channel=ProjectLogChannel')

ws.onopen = () => {
console.log('WebSocket connection established')

Check warning on line 244 in src/components/App/index.tsx

View workflow job for this annotation

GitHub Actions / eslint-run

Unexpected console statement

Check warning on line 244 in src/components/App/index.tsx

View workflow job for this annotation

GitHub Actions / craco-build-run

Unexpected console statement
Expand All @@ -259,7 +259,7 @@ export const App = () => {

// Cleanup when the component is unmounted
return () => {
ws.close()
// ws.close()
}
}, [])

Expand Down

0 comments on commit deda352

Please sign in to comment.