Fix: Make version changeable from the environment vars (#4654)
This commit is contained in:
@@ -4,7 +4,7 @@ export const createMessengerScript = pageId => `
|
||||
FB.init({
|
||||
appId: "${window.chatwootConfig.fbAppId}",
|
||||
xfbml: true,
|
||||
version: "v4.0"
|
||||
version: "${window.chatwootConfig.fbApiVersion}"
|
||||
});
|
||||
};
|
||||
(function(d, s, id){
|
||||
|
||||
Reference in New Issue
Block a user