Skip to content

Commit 2b1b873

Browse files
authored
fix(SCM-615): update cdn url (#123)
1 parent cdcc5ef commit 2b1b873

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/phraseapp-in-context-editor-ruby/view_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def load_in_context_editor(opts = {})
2828
let phraseapp = document.createElement('script');
2929
phraseapp.type = 'module';
3030
phraseapp.async = true;
31-
phraseapp.src = "https://d2bgdldl6xit7z.cloudfront.net/latest/ice/index.js";
31+
phraseapp.src = "https://cdn.phrase.com/strings/plugins/editor/latest/ice/index.js";
3232
let script = document.getElementsByTagName('script')[0];
3333
script.parentNode.insertBefore(phraseapp, script);
3434
})();

spec/phraseapp-in-context-editor-ruby/view_helpers_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Helpers
2525

2626
describe "has right ICE bundle address" do
2727
it { is_expected.to include("<script nonce='some_nonce'>") }
28-
it { is_expected.to include("https://d2bgdldl6xit7z.cloudfront.net/latest/ice/index.js") }
28+
it { is_expected.to include("https://cdn.phrase.com/strings/plugins/editor/latest/ice/index.js") }
2929
it { is_expected.to include("</script>") }
3030
end
3131

0 commit comments

Comments
 (0)