diff --git a/apps/admin/.env.docker.local.example b/apps/admin/.env.docker.local.example index bc8c76d..f6dd7b4 100644 --- a/apps/admin/.env.docker.local.example +++ b/apps/admin/.env.docker.local.example @@ -1,12 +1,12 @@ APP_PORT=3002 -NEXT_PUBLIC_BASE_URL=http://185.65.244.84:3002 -NEXT_PUBLIC_SERVER_URL=http://185.65.244.84:3000 +NEXT_PUBLIC_BASE_URL=https://admin.fixlab.pp.ua +NEXT_PUBLIC_SERVER_URL=https://server.fixlab.pp.ua NEXT_PUBLIC_DOCKER_SERVICE_URL=http://server:3000 -NEXT_PUBLIC_SERVER_API_URL=http://185.65.244.84:3000/api -NEXT_PUBLIC_SERVER_TRPC_URL=http://185.65.244.84:3000/api/trpc +NEXT_PUBLIC_SERVER_API_URL=https://server.fixlab.pp.ua/api +NEXT_PUBLIC_SERVER_TRPC_URL=https://server.fixlab.pp.ua/api/trpc NEXTAUTH_SECRET= -NEXTAUTH_URL=http://185.65.244.84:3002/api/auth +NEXTAUTH_URL=https://admin.fixlab.pp.ua/api/auth NEXTAUTH_JWT_ACCESS_TOKEN_EXPIRATION='1d' # This was inserted by `prisma init`: diff --git a/apps/admin/next.config.js b/apps/admin/next.config.js index c21d86c..99c4cf5 100644 --- a/apps/admin/next.config.js +++ b/apps/admin/next.config.js @@ -10,7 +10,7 @@ const nextConfig = { return config }, images: { - domains: ['185.65.244.84'], + domains: ['server.admin.pp.ua'], contentDispositionType: 'attachment', unoptimized: true, }, diff --git a/apps/client/next.config.js b/apps/client/next.config.js index c684f48..98ce343 100644 --- a/apps/client/next.config.js +++ b/apps/client/next.config.js @@ -9,7 +9,6 @@ const nextConfig = { return config }, images: { - // domains: ['localhost', '185.65.244.84', 'fixlab.pp.ua'], remotePatterns: [ { protocol: 'https', @@ -18,7 +17,7 @@ const nextConfig = { pathname: '/public/**', }, ], - // formats: ['image/avif', 'image/webp'], + formats: ['image/avif', 'image/webp'], }, output: 'standalone', }