diff --git a/apps/documenteditor/mobile/src/controller/settings/Settings.jsx b/apps/documenteditor/mobile/src/controller/settings/Settings.jsx index 1fd31d171..20d3c4002 100644 --- a/apps/documenteditor/mobile/src/controller/settings/Settings.jsx +++ b/apps/documenteditor/mobile/src/controller/settings/Settings.jsx @@ -74,7 +74,7 @@ const Settings = props => { setTimeout(() => { if(config && !!config.feedback && !!config.feedback.url) { window.open(config.feedback.url, "_blank"); - } else window.open('{{SUPPORT_URL}}', "_blank"); + } else window.open('{{__SUPPORT_URL__}}', "_blank"); }, 400); } diff --git a/apps/presentationeditor/mobile/src/view/settings/Settings.jsx b/apps/presentationeditor/mobile/src/view/settings/Settings.jsx index 907cdf9be..473fe78b4 100644 --- a/apps/presentationeditor/mobile/src/view/settings/Settings.jsx +++ b/apps/presentationeditor/mobile/src/view/settings/Settings.jsx @@ -117,7 +117,7 @@ const SettingsList = inject("storeAppOptions", "storeToolbarSettings")(observer( closeModal(); if(config && !!config.feedback && !!config.feedback.url) { window.open(config.feedback.url, "_blank"); - } else window.open('{{SUPPORT_URL}}', "_blank"); + } else window.open('{{__SUPPORT_URL__}}', "_blank"); }; const appOptions = props.storeAppOptions; diff --git a/apps/spreadsheeteditor/mobile/src/view/settings/Settings.jsx b/apps/spreadsheeteditor/mobile/src/view/settings/Settings.jsx index 2da10aef1..da169222d 100644 --- a/apps/spreadsheeteditor/mobile/src/view/settings/Settings.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/settings/Settings.jsx @@ -122,7 +122,7 @@ const SettingsList = inject("storeAppOptions")(observer(props => { closeModal(); if(config && !!config.feedback && !!config.feedback.url) { window.open(config.feedback.url, "_blank"); - } else window.open('{{SUPPORT_URL}}', "_blank"); + } else window.open('{{__SUPPORT_URL__}}', "_blank"); }; const appOptions = props.storeAppOptions; diff --git a/vendor/framework7-react/build/webpack.config.js b/vendor/framework7-react/build/webpack.config.js index 7780894ce..863dc20ed 100644 --- a/vendor/framework7-react/build/webpack.config.js +++ b/vendor/framework7-react/build/webpack.config.js @@ -169,6 +169,7 @@ module.exports = { __PRODUCT_VERSION__: JSON.stringify(process.env.PRODUCT_VERSION ? process.env.PRODUCT_VERSION : '6.2.0d'), __PUBLISHER_ADDRESS__: JSON.stringify(process.env.PUBLISHER_ADDRESS || '20A-12 Ernesta Birznieka-Upisha street, Riga, Latvia, EU, LV-1050'), __SUPPORT_EMAIL__: JSON.stringify(process.env.SUPPORT_EMAIL || 'support@onlyoffice.com'), + __SUPPORT_URL__: JSON.stringify(process.env.SUPPORT_URL || 'https://support.onlyoffice.com'), __PUBLISHER_PHONE__: JSON.stringify(process.env.PUBLISHER_PHONE || '+371 633-99867'), __PUBLISHER_URL__: JSON.stringify(process.env.PUBLISHER_URL || 'https://www.onlyoffice.com'), __PUBLISHER_NAME__: JSON.stringify(process.env.PUBLISHER_NAME || 'Ascensio System SIA'),