Skip to content

Commit 83ae918

Browse files
authored
Merge pull request #209 from emartech/https-translations
fix(translations): collect translations through HTTPS
2 parents 8f989fa + e46a631 commit 83ae918

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

translations/collect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ CollectTranslations.prototype = {
5252
'translate_' + this._translationId + '.js.php';
5353

5454
return (
55-
'http://' +
55+
'https://' +
5656
this._environment +
5757
'/js/translate/' +
5858
filename +

translations/middleware.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ describe('Suite translation middleware', function() {
261261

262262

263263
var httpBackendRespondWith = function(errorCode, language, data) {
264-
nock('http://testEnvironment')
264+
nock('https://testEnvironment')
265265
.get('/js/translate/translate_' + testTranslation + '.js.php?lang=' + language)
266266
.times(1)
267267
.reply(errorCode, data);

0 commit comments

Comments
 (0)