Skip to content

Commit

Permalink
always use latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
dangscaleflex committed Jul 31, 2023
1 parent 68ef20f commit d4508fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions etc/csp_whitelist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<policy id="script-src">
<values>
<value id="scaleflex-script" type="host">*.scaleflex.it</value>
<value id="scaleflex-script" type="host">*.cloudimg.io</value>
</values>
</policy>
<policy id="style-src">
Expand Down
4 changes: 2 additions & 2 deletions view/adminhtml/templates/firerobot.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/** @var \Scaleflex\Filerobot\Block\Adminhtml\Firerobot $block */
?>
<link rel="stylesheet" type="text/css"
href="https://cdn.scaleflex.it/plugins/filerobot-widget/2.9.5/filerobot-widget.min.css?func=proxy"/>
href="https://scaleflex.cloudimg.io/v7/plugins/filerobot-widget/stable/filerobot-widget.min.css"/>

<button style="display: none" id="file-robot-modal-btn"></button>
<div id="modal-content">
Expand All @@ -11,7 +11,7 @@
<script type="text/javascript">
require.config({
paths: {
filerobot: 'https://cdn.scaleflex.it/plugins/filerobot-widget/2.9.5/filerobot-widget.min.js?func=proxy'
filerobot: 'https://scaleflex.cloudimg.io/v7/plugins/filerobot-widget/stable/filerobot-widget.min'
}
});
require(["jquery", "Magento_Ui/js/modal/modal", "filerobot"], function (jQuery, modal, filerobot, _) {
Expand Down

0 comments on commit d4508fc

Please sign in to comment.