mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
rolling back header auth for realtime-js connection
This commit is contained in:
1 parent
45480c1a10
commit
6e2990702f
1 file changed
+1
-1
@@ -47,7 +47,7 @@ class Supabase {
|
||||
this.tableName == '*'
|
||||
? 'realtime:*'
|
||||
: `realtime:${this.schema}:${this.tableName}${filterString}`
|
||||
this.socket = new Socket(socketUrl, { headers: { apikey: this.apikey } })
|
||||
this.socket = new Socket(socketUrl, { params: { apikey: this.apikey } })
|
||||
this.channel = this.socket.channel(channel)
|
||||
|
||||
this.socket.onOpen(() => {
|
||||
|
||||
Reference in new issue
Block a user