Skip to content

Commit

Permalink
Fix undefined error on test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Sep 21, 2023
1 parent 956513d commit 829cb36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core-data/src/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export function getSyncProvider() {
createWebRTCConnection( {
signaling: [
//'ws://localhost:4444',
window.wp.ajax.settings.url,
window?.wp?.ajax?.settings?.url,
],
password: window.__experimentalCollaborativeEditingSecret,
password: window?.__experimentalCollaborativeEditingSecret,
} )
);
}
Expand Down

0 comments on commit 829cb36

Please sign in to comment.