encode sri when sending in URL
parent
18efb42c6f
commit
942ecda593
|
@ -21,7 +21,7 @@ export function nowPlaying() {
|
|||
export function anonPoolSeek(pool) {
|
||||
return $.ajax({
|
||||
method: 'POST',
|
||||
url: '/setup/hook/' + window.lichess.StrongSocket.sri,
|
||||
url: '/setup/hook/' + encodeURIComponent(window.lichess.StrongSocket.sri),
|
||||
data: {
|
||||
variant: 1,
|
||||
timeMode: 1,
|
||||
|
|
Loading…
Reference in New Issue