Skip to content

Commit

Permalink
Merge pull request #118 from andy5995/repo_hardware_modules_issue_14
Browse files Browse the repository at this point in the history
moved modules.json from hardware repo (closes tessel/hardware-modules#14)
  • Loading branch information
Frijol authored Oct 31, 2017
2 parents 00825fc + 5d8aff8 commit dbb63c4
Show file tree
Hide file tree
Showing 3 changed files with 654 additions and 29 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ app.get('/press', function(req, res) {

app.get('/modules', function(req, res) {
// Request module data
request('https://raw.githubusercontent.com/tessel/hardware-modules/master/modules.json', function (error, response, body) {
request('https://raw.githubusercontent.com/tessel/tessel.io/master/modules.json', function (error, response, body) {
if (!error && response.statusCode == 200) {
// Parse as JSON
var moduleData = JSON.parse(body);
Expand Down
Loading

0 comments on commit dbb63c4

Please sign in to comment.