diff --git a/nuxt.config.ts b/nuxt.config.ts index 3e65fea..a811eb4 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -29,6 +29,15 @@ export default defineNuxtConfig({ : process.env.MEILI_SEARCH_INDEXES : ['production', 'solution'], }, + strapi: { + url: process.env.STRAPI_URL || 'http://localhost:1337', + token: process.env.STRAPI_TOKEN || undefined, + prefix: '/api', + admin: '/admin', + version: 'v5', + cookie: {}, + cookieName: 'strapi_jwt', + }, }, }, @@ -104,16 +113,6 @@ export default defineNuxtConfig({ langDir: 'locales', }, - strapi: { - url: process.env.STRAPI_URL || 'http://localhost:1337', - token: process.env.STRAPI_TOKEN || undefined, - prefix: '/api', - admin: '/admin', - version: 'v5', - cookie: {}, - cookieName: 'strapi_jwt', - }, - imports: { dirs: ['types/**'], },