Skip to content

Commit

Permalink
Merge pull request #2245 from stakwork/feature/update-staksocket-url
Browse files Browse the repository at this point in the history
feat: change socket url
  • Loading branch information
Rassl authored Sep 27, 2024
2 parents bdb83af + deda352 commit c94f608
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 / build

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 c94f608

Please sign in to comment.