Skip to content

Commit

Permalink
Updated explorer link
Browse files Browse the repository at this point in the history
  • Loading branch information
dondreytaylor committed Dec 3, 2019
1 parent 355b571 commit 63cbfaf
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,6 @@ var Handlerbars = require('handlebars');
var HandlebarsLayouts = require('handlebars-layouts');
HandlebarsLayouts.register(Handlerbars);

// Query helper function
let query = function(query, data, callback) {
pool.getConnection(function(err, connection) {
if (!err) {
connection.query(query, data, function (error, results, fields) {
connection.release();
if (typeof callback == "function") callback(error, results, fields);
});
}
});
};

// HTTP Server
var server = Hapi.server({
port: 8000,
Expand Down

0 comments on commit 63cbfaf

Please sign in to comment.