1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

refactoring s/api/featureApi/g

This commit is contained in:
Gard Rimestad 2014-10-24 15:14:15 +02:00
parent 8fdc57212a
commit 91847835f8

View File

@ -3,7 +3,7 @@ var express = require('express'),
log4js = require('log4js'), log4js = require('log4js'),
logger = require('./lib/logger'), logger = require('./lib/logger'),
routes = require('./lib/routes'), routes = require('./lib/routes'),
api = require('./lib/featureApi'), featureApi = require('./lib/featureApi'),
validator = require('express-validator'), validator = require('express-validator'),
app = express(), app = express(),
router = express.Router(), router = express.Router(),
@ -24,7 +24,7 @@ app.set('port', process.env.HTTP_PORT || 4242);
app.use(baseUriPath, express.static(__dirname + '/public')); app.use(baseUriPath, express.static(__dirname + '/public'));
app.use(bodyParser.json({strict: false})); app.use(bodyParser.json({strict: false}));
api(router); featureApi(router);
routes(router); routes(router);
app.use(baseUriPath, router); app.use(baseUriPath, router);