MAGENTO/lib/nosto/php-sdk/.env.example
to MAGENTO/lib/nosto/php-sdk/.env
and modify the parameters.NOSTO_SERVER_URL
is the Nosto url used in the store frontNOSTO_API_BASE_URL
is the base url for all API calls to NostoNOSTO_OAUTH_BASE_URL
is the base url for connecting Nosto accounts through OAuthNOSTO_WEB_HOOK_BASE_URL
is the base url for Nosto web hooksNOSTO_IFRAME_ORIGIN_REGEXP
is a regexp for validating window.postMessage() event origin dispatched by the account configuration iframe.env.[environment]
files. This way you can switch the environment by replacing the .env with the correct .env.[environment] file.js/nosto/iframeHandler.min.js
) do the following modifications to app/design/adminhtml/default/default/layout/nostotagging.xml
.nosto-src
directory is symlinked from $mage_root/js/
correctly to js/nosto-src
in Nosto extension.grunt uglify
in the extension root folder and change you layout files again to point to the minified versions.iframeHandler.js
can be minified with grunt.app/code/community/Nosto/Tagging/etc/config.xml
and in the magazine.json
.config.xml
file)