From 99e81e9b1d753a56f0250fbc0ecffa002d0bf478 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Tue, 12 Mar 2024 12:34:41 +0200 Subject: [PATCH] refactor: updated image remote pattern config --- apps/client/.env.docker.local.example | 4 ++-- apps/client/next.config.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/client/.env.docker.local.example b/apps/client/.env.docker.local.example index fb5e046..6a292d5 100644 --- a/apps/client/.env.docker.local.example +++ b/apps/client/.env.docker.local.example @@ -2,7 +2,7 @@ APP_PORT=3001 NEXT_PUBLIC_BASE_URL=https://fixlab.pp.ua NEXT_PUBLIC_SERVER_URL=https://185.65.244.84:3000 -NEXT_PUBLIC_SERVER_TRPC_URL=https://185.65.244.84:3000/api/trpc +NEXT_PUBLIC_SERVER_TRPC_URL=http://185.65.244.84:3000/api/trpc NEXT_PUBLIC_TELEGRAM_TOKEN= NEXT_PUBLIC_TELEGRAM_CHAT_ID= NEXT_PUBLIC_TWANK_PROPERTY_ID= @@ -17,6 +17,6 @@ NEXT_PUBLIC_TWANK_WIDGET_ID= DATABASE_USERNAME= DATABASE_PASSWORD= DATABASE_HOST=mongo -DATABASE_PORT=27017 +DATABASE_PORT=27018 DATABASE_NAME= DATABASE_URL="mongodb://${DATABASE_USERNAME}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}?replicaSet=rs0&retryWrites=true&w=majority&directConnection=true&authSource=admin" \ No newline at end of file diff --git a/apps/client/next.config.js b/apps/client/next.config.js index a579d60..55c1ab1 100644 --- a/apps/client/next.config.js +++ b/apps/client/next.config.js @@ -12,7 +12,8 @@ const nextConfig = { remotePatterns: [ { protocol: 'https', - hostname: '**', + hostname: '185.65.244.84', + port: '3000', }, ], formats: ['image/avif', 'image/webp'],