From 388ae933f823d1ac4c899742c13a699523cbca54 Mon Sep 17 00:00:00 2001 From: Scott Tolksdorf Date: Sat, 6 Aug 2016 21:08:37 -0600 Subject: [PATCH] rmeoving the top api call, as it was never finished and opened a security issue. --- client/homebrew/navbar/navbar.jsx | 2 +- package.json | 2 +- server/homebrew.api.js | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/client/homebrew/navbar/navbar.jsx b/client/homebrew/navbar/navbar.jsx index a8a26e56b..7c822061b 100644 --- a/client/homebrew/navbar/navbar.jsx +++ b/client/homebrew/navbar/navbar.jsx @@ -34,7 +34,7 @@ var Navbar = React.createClass({
The Homebrewery
- v2.2.7 + v2.2.8 {this.renderChromeWarning()} diff --git a/package.json b/package.json index f61dfbc9f..55a06fdfd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "homebrewery", "description": "Create authentic looking D&D homebrews using only markdown", - "version": "2.2.7", + "version": "2.2.8", "scripts": { "postinstall": "gulp prod", "start": "node server.js" diff --git a/server/homebrew.api.js b/server/homebrew.api.js index 7e4f9a4ae..1ca8fee93 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -30,12 +30,6 @@ var getTopBrews = function(cb){ module.exports = function(app){ - app.get('/api/top', function(req, res){ - getTopBrews(function(topBrews){ - return res.json(topBrews); - }); - }); - app.post('/api', function(req, res){ var newHomebrew = new HomebrewModel(req.body); newHomebrew.save(function(err, obj){