This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
forked from dash1291/commonplace
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,9 +109,50 @@ CORE_VIEWS.forEach(function(view) { | |
|
||
var BOWER_PATH = process.env.BOWER_PATH || './bower_components/'; | ||
|
||
// Server config to allow easy switching of servers in settings. | ||
var serverConfig = { | ||
prod: { | ||
api_url: 'https://marketplace.firefox.com', | ||
media_url: 'https://marketplace.cdn.mozilla.net/media/', | ||
}, | ||
dev: { | ||
api_url: 'https://marketplace-dev.allizom.org', | ||
media_url: 'https://marketplace-dev.mozflare.net/media/', | ||
}, | ||
stage: { | ||
api_url: 'https://marketplace.allizom.org', | ||
media_url: 'https://marketplace-stage.cdn.mozilla.net/media/', | ||
}, | ||
altdev: { | ||
api_url: 'https://marketplace-altdev.allizom.org', | ||
media_url: 'https://marketplace-altdev-cdn.allizom.org/media/', | ||
}, | ||
paymentsalt: { | ||
api_url: 'https://payments-alt.allizom.org', | ||
media_url: 'https://payments-alt-cdn.allizom.org/media/', | ||
}, | ||
localhost: { | ||
api_url: 'http://localhost', | ||
media_url: 'http://localhost', | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ngokevin
Author
|
||
}, | ||
mpdev: { | ||
api_url: 'http://mp.dev', | ||
media_url: 'http://mp.dev/media/', | ||
}, | ||
mock: { | ||
api_url: 'https://flue.paas.allizom.org', | ||
media_url: 'https://flue.paas.allizom.org', | ||
}, | ||
mocklocal: { | ||
api_url: 'http://localhost:5000', | ||
media_url: 'http://localhost:5000', | ||
}, | ||
}; | ||
|
||
module.exports = { | ||
bowerConfig: bowerConfig, | ||
requireConfig: requireConfig, | ||
serverConfig: serverConfig, | ||
BOWER_PATH: BOWER_PATH, | ||
CSS_DEST_PATH: CSS_DEST_PATH, | ||
JS_DEST_PATH: JS_DEST_PATH, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm curious why these don't have the trailing
/media/
?