diff --git a/apps/web/.env.example b/apps/web/.env.example index be52c79b..9fa18f47 100644 --- a/apps/web/.env.example +++ b/apps/web/.env.example @@ -1,6 +1,6 @@ -NEXT_PUBLIC_FEATURE_AUTH=boolean -NEXT_PUBLIC_DISABLE_AUTH=boolean NEXT_PUBLIC_FEATURE_PROJECTS=boolean NEXT_PUBLIC_FEATURE_TASKS=boolean NEXT_PUBLIC_FEATURE_SPRINTS=boolean NEXT_PUBLIC_FEATURE_TEAM_SETTINGS=boolean + +NEXT_PUBLIC_API_URL=http://адрес_бекенда:порт(по умолчанию localhost:3000) diff --git a/apps/web/app/(auth)/layout.tsx b/apps/web/app/(auth)/layout.tsx index 8051227c..ed5de8ac 100644 --- a/apps/web/app/(auth)/layout.tsx +++ b/apps/web/app/(auth)/layout.tsx @@ -1,17 +1,12 @@ import Link from 'next/link' -import { notFound } from 'next/navigation' -import { FEATURES, ROUTES } from '@/shared/config' +import { ROUTES } from '@/shared/config' interface Props { children: React.ReactNode } export default function AuthLayout({ children }: Props) { - if (!FEATURES.AUTH) { - notFound() - } - return (