add logging
This commit is contained in:
parent
edf6f49864
commit
7ce690aecf
|
@ -72,6 +72,7 @@
|
||||||
path
|
path
|
||||||
|
|
||||||
receiveMessage: (event) ->
|
receiveMessage: (event) ->
|
||||||
|
console.log(event)
|
||||||
if event.origin == @expectedOrigin()
|
if event.origin == @expectedOrigin()
|
||||||
if event.data == 'redirect'
|
if event.data == 'redirect'
|
||||||
window.location = "#{@endpoint}/auth/handshake?redirect_uri=#{location}"
|
window.location = "#{@endpoint}/auth/handshake?redirect_uri=#{location}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user