mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
17 lines
475 B
JavaScript
17 lines
475 B
JavaScript
'use strict';
|
|
|
|
|
|
exports.createAPI = function (router, config) {
|
|
require('./event')(router, config);
|
|
require('./feature')(router, config);
|
|
require('./feature-archive')(router, config);
|
|
require('./strategy')(router, config);
|
|
require('./health-check')(router, config);
|
|
require('./metrics')(router, config);
|
|
};
|
|
|
|
exports.createLegacy = function (router, config) {
|
|
require('./feature')(router, config);
|
|
require('./health-check')(router, config);
|
|
};
|