Skip to content

Commit

Permalink
Checking heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanMaRuiz committed Jun 14, 2016
1 parent 4f02631 commit 7e58921
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
======================================== */
var express = require('express');
var app = express();
var ig = require('instagram-node').instagram();

/* Documentation http get api
* https://www.npmjs.com/package/node-rest-client
Expand All @@ -16,7 +15,7 @@ var ig = require('instagram-node').instagram();
*/
app.use(express.static(__dirname + '/public'));

// Set the view engine to ejs
// Set the view engine to ejs (JS templating)
app.set('view engine', 'ejs');

// TODO
Expand All @@ -29,8 +28,6 @@ client.registerMethod("jsonMethod", "https://authenticjobs.com/api/?api_key=bf24
client.methods.jsonMethod(function (data, response) {
// parsed response body as js object
console.log(data);
// raw response
console.log(response);
});

/* Set the routes
Expand Down

0 comments on commit 7e58921

Please sign in to comment.