From 91847835f8152253754d5dab07711779522c4161 Mon Sep 17 00:00:00 2001 From: Gard Rimestad Date: Fri, 24 Oct 2014 15:14:15 +0200 Subject: [PATCH] refactoring s/api/featureApi/g --- unleash-server/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unleash-server/server.js b/unleash-server/server.js index f92f173a28..1b77063120 100644 --- a/unleash-server/server.js +++ b/unleash-server/server.js @@ -3,7 +3,7 @@ var express = require('express'), log4js = require('log4js'), logger = require('./lib/logger'), routes = require('./lib/routes'), - api = require('./lib/featureApi'), + featureApi = require('./lib/featureApi'), validator = require('express-validator'), app = express(), router = express.Router(), @@ -24,7 +24,7 @@ app.set('port', process.env.HTTP_PORT || 4242); app.use(baseUriPath, express.static(__dirname + '/public')); app.use(bodyParser.json({strict: false})); -api(router); +featureApi(router); routes(router); app.use(baseUriPath, router);