UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

7 lines 368 B
import authorizationMiddleware from './authorization-middleware.js'; function ossAuthHook(app, getLogger, baseUriPath) { app.use(`${baseUriPath}/api`, authorizationMiddleware(getLogger, baseUriPath)); app.use(`${baseUriPath}/logout`, authorizationMiddleware(getLogger, baseUriPath)); } export default ossAuthHook; //# sourceMappingURL=oss-authentication.js.map