diff --git a/.env.example b/.env.example index f43c216..3bacb08 100644 --- a/.env.example +++ b/.env.example @@ -1 +1,3 @@ -API_URL=http://localhost:3000/api \ No newline at end of file +NEXT_PUBLIC_API_URL=http://localhost:3000/api +NEXTAUTH_URL=http://localhost:3000/api/auth +NEXTAUTH_SECRET=iH2l7bdSwWBZ0uqOPcBgey0zNqR6SS2udhF6H8GFY40= \ No newline at end of file diff --git a/src/i18n/routing.ts b/src/i18n/routing.ts index 2e3cd0c..46c7707 100644 --- a/src/i18n/routing.ts +++ b/src/i18n/routing.ts @@ -12,8 +12,11 @@ export const routing = defineRouting({ }, }, pathnames: { - '/': '/', - '/dashboard': '/dashboard', + '/': '/dashboard', + '/dashboard': { + 'pt-BR': '/dashboard', + 'en-US': '/dashboard', + }, '/orders': { 'pt-BR': '/pedidos', 'en-US': '/orders',