@cloudnux/local-cloud-provider 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -55595,11 +55595,16 @@ function createLocalFunctionsService() {
|
|
|
55595
55595
|
|
|
55596
55596
|
// src/router/index.ts
|
|
55597
55597
|
var import_fastify = __toESM(require_fastify());
|
|
55598
|
+
var import_fastify_raw_body2 = __toESM(require_plugin2());
|
|
55598
55599
|
function createRouter(options = {}) {
|
|
55599
55600
|
const fastify = (0, import_fastify.default)({
|
|
55600
55601
|
maxParamLength: 1e3,
|
|
55601
55602
|
logger: options.logger
|
|
55602
55603
|
});
|
|
55604
|
+
fastify.register(import_fastify_raw_body2.default, {
|
|
55605
|
+
field: "rawBody",
|
|
55606
|
+
encoding: "utf8"
|
|
55607
|
+
});
|
|
55603
55608
|
return fastify;
|
|
55604
55609
|
}
|
|
55605
55610
|
|