backend/config/middlewares.ts (view raw)
1export default [
2 "strapi::errors",
3 "strapi::security",
4 "strapi::cors",
5 "strapi::poweredBy",
6 "strapi::logger",
7 "strapi::query",
8 { name: "strapi::body", config: { includeUnparsed: true } },
9 "strapi::session",
10 "strapi::favicon",
11 "strapi::public",
12
13 {
14 resolve: "./src/middlewares/graphql-logger",
15 config: {
16 enabled: true,
17 conf: {},
18 },
19 },
20];