diff --git a/test/fixtures/allowedMethods/nuxt.config.ts b/test/fixtures/allowedMethods/nuxt.config.ts index 3e0e4ccb..d64d58cf 100644 --- a/test/fixtures/allowedMethods/nuxt.config.ts +++ b/test/fixtures/allowedMethods/nuxt.config.ts @@ -5,12 +5,16 @@ export default defineNuxtConfig({ MyModule ], security: { - allowedMethodsRestricter: ['POST'] + allowedMethodsRestricter: { + methods: ['POST'] + } }, routeRules: { '/test': { security: { - allowedMethodsRestricter: ['GET'] + allowedMethodsRestricter: { + methods: ['GET'] + } } } }