Skip to content

Commit

Permalink
Updated Facebook SDK for debugging
Browse files Browse the repository at this point in the history
Co-Authored-By: Jakub Drabik <drabajs77@gmail.com>
  • Loading branch information
SanderPeeters and jakubdrabik committed Jun 5, 2019
1 parent e4b57ff commit 760c6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default class Facebook {
js.id = 'facebook-jssdk';
js.async = true;
js.defer = true;
js.src = `https://${domain}/${language}/sdk${debug ? '/debug' : ''}/xfbml.customerchat.js`;
js.src = `https://${domain}/${language}/sdk/xfbml.customerchat${debug ? '/debug' : ''}.js`;

window.document.body.appendChild(js);
});
Expand Down

0 comments on commit 760c6ce

Please sign in to comment.