Share: sync
This commit is contained in:
parent
d51b4263ab
commit
9b331a917e
2 changed files with 8 additions and 8 deletions
|
|
@ -45,7 +45,7 @@ export default function App() {
|
|||
|
||||
// Always use secure WebSocket protocol (wss)
|
||||
const wsBaseUrl = apiUrl.replace(/^https?:\/\//, "wss://")
|
||||
const wsUrl = `${wsBaseUrl}/share_poll?share_id=${shareId}`
|
||||
const wsUrl = `${wsBaseUrl}/share_poll?shareID=${shareId}`
|
||||
console.log("Connecting to WebSocket URL:", wsUrl)
|
||||
|
||||
// Create WebSocket connection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue