Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit e0ea84e

Browse files
committed
Addressing review comments
1 parent 03ddf9f commit e0ea84e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/brackets.config.dist.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"analyticsDataServerURL" : "https://cc-api-data.adobe.io/ingest",
44
"serviceKey" : "brackets-service",
55
"environment" : "production",
6-
"update_info_url" : "https://getupdates.brackets.io/getupdates/",
6+
"update_info_url" : "https://getupdates.brackets.io/getupdates?locale=<locale>",
77
"notification_info_url" : "https://getupdates.brackets.io/getnotifications?locale=<locale>",
88
"buildtype" : "production"
99
}

src/utils/UpdateNotification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ define(function (require, exports, module) {
115115
locale = locale.substring(0, 2);
116116
}
117117

118-
return brackets.config.update_info_url + '?locale=' + locale;
118+
return brackets.config.update_info_url.replace('<locale>', locale || 'en');
119119
}
120120

121121
/**

0 commit comments

Comments
 (0)