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

Commit

Permalink
Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
g-217 committed Dec 6, 2019
1 parent 03ddf9f commit e0ea84e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/brackets.config.dist.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"analyticsDataServerURL" : "https://cc-api-data.adobe.io/ingest",
"serviceKey" : "brackets-service",
"environment" : "production",
"update_info_url" : "https://getupdates.brackets.io/getupdates/",
"update_info_url" : "https://getupdates.brackets.io/getupdates?locale=<locale>",
"notification_info_url" : "https://getupdates.brackets.io/getnotifications?locale=<locale>",
"buildtype" : "production"
}
2 changes: 1 addition & 1 deletion src/utils/UpdateNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ define(function (require, exports, module) {
locale = locale.substring(0, 2);

This comment has been minimized.

Copy link
@CaRdS4980

CaRdS4980 Dec 26, 2019

Photo of paulaclemons

}

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

/**
Expand Down

0 comments on commit e0ea84e

Please sign in to comment.