Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Jul 1, 2024
1 parent 4373ea8 commit 706f662
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ const routes = require("./routes");
module.exports = function (options) {
const router = express.Router();

const defaults = [
mw.errorHandler,
mw.bodyParser,
mw.cors,
mw.poweredBy,
mw.negotiateContent,
];

const endpoints = [
{ action: "get", path: "/", route: routes.hello },
{ action: "all", path: "/ip", route: routes.ips.one },
Expand Down

0 comments on commit 706f662

Please sign in to comment.