Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
revert settings_local_hosted.js (bug 983815)
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Mar 28, 2014
1 parent fd89303 commit 9af76d3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions hearth/media/js/settings_local_hosted.js
@@ -1,7 +1,11 @@
define('settings_local', [], function(settings_base, _) {
// Override settings here!
define('settings_local', [], function() {
var origin = window.location.origin || (
window.location.protocol + '//' + window.location.host);
return {
api_url: 'https://marketplace-dev.allizom.org',
media_url: ' https://marketplace-dev-cdn.allizom.org/media',
api_url: origin,
media_url: document.body.getAttribute('data-media'),
tracking_enabled: true,

potatolytics_enabled: false
};
});

0 comments on commit 9af76d3

Please sign in to comment.