Skip to content

Commit

Permalink
Merge pull request #1349 from massenergize/canary
Browse files Browse the repository at this point in the history
CANARY => Master (Preference page fix)
  • Loading branch information
frimpongopoku authored Jun 12, 2024
2 parents be63239 + 9460e0c commit 8c6cbaa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
7 changes: 0 additions & 7 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,6 @@ function App() {
window.location.href
);

console.log(
"All details ",
userIsNotAlreadyOnCustomDomain,
customDomain,
window.location.href,
changeToProperURL(customDomain)
);
// Only redirect to custom domain if a community has one, and the user is not already on the custom domain
// if (userIsNotAlreadyOnCustomDomain && !IS_LOCAL)
// window.location.href = changeToProperURL(customDomain);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Pages/Settings/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function Settings({
);
};

var TABS = Object.entries(settings)?.map(([key, { name, live, options }]) => {
var TABS = Object.entries(settings ||{})?.map(([key, { name, live, options }]) => {
if (live)
return {
key,
Expand Down
2 changes: 0 additions & 2 deletions src/components/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ export function domainsAreTheSame(url1, url2) {
let domain1 = parsedUrl1.hostname.replace(/^www\./, "");
let domain2 = parsedUrl2.hostname.replace(/^www\./, "");

console.log("Track domain1, domain2", domain1, domain2)

return domain1 === domain2;
} catch (e) {
console.log(e, url1, url2);
Expand Down
6 changes: 3 additions & 3 deletions src/config/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"IS_LOCAL": false,
"IS_PROD": true,
"IS_CANARY": false,
"BUILD_VERSION": "4.13.13"
"IS_PROD": false,
"IS_CANARY": true,
"BUILD_VERSION": "4.13.17"
}

0 comments on commit 8c6cbaa

Please sign in to comment.