Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #37: Replace node-config with a JS config file
`node-config` is hard to use with transpilers, because it uses conditional dependencies, see node-config/node-config#345. Move endpoint configs into a simple JS module.
- Loading branch information
1 parent
ba7b1c4
commit c6e61b2
Showing
6 changed files
with
8 additions
and
10 deletions.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
endpoint: process.env.NODE_ENV === "production" ? | ||
"https://tiles.services.mozilla.com/v3/links/ping-centre" : | ||
"https://onyx_tiles.stage.mozaws.net/v3/links/ping-centre" | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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