generated from nhcarrigan/template
fix: raw body config
This commit is contained in:
@ -68,12 +68,10 @@ export const instantiateServer = (): void => {
|
||||
});
|
||||
|
||||
server.register(fastifyRawBody, {
|
||||
encoding: "utf8",
|
||||
field: "rawBody",
|
||||
global: false,
|
||||
jsonContentTypes: [],
|
||||
routes: [],
|
||||
runFirst: true,
|
||||
encoding: "utf8",
|
||||
field: "rawBody",
|
||||
global: false,
|
||||
runFirst: true,
|
||||
});
|
||||
|
||||
server.get("/", (_request, response) => {
|
||||
|
Reference in New Issue
Block a user