apicco-lib
Advanced tools
Comparing version 1.0.4 to 1.0.5
15
build.js
@@ -95,6 +95,13 @@ const path = require('path'); | ||
router.get(path.join(prefix, 'discovery'), (ctx) => { | ||
ctx.status = 200; | ||
ctx.body = api; | ||
}); | ||
router.get( | ||
path.join(prefix, 'discovery'), | ||
compose([ | ||
...beforeMiddlewares, | ||
(ctx) => { | ||
ctx.status = 200; | ||
ctx.body = api; | ||
}, | ||
...afterMiddlewares | ||
]) | ||
); | ||
} | ||
@@ -101,0 +108,0 @@ |
{ | ||
"name": "apicco-lib", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8926
93