Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: updated image remote pattern config #18

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/client/.env.docker.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand All @@ -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"
3 changes: 2 additions & 1 deletion apps/client/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const nextConfig = {
remotePatterns: [
{
protocol: 'https',
hostname: '**',
hostname: '185.65.244.84',
port: '3000',
},
],
formats: ['image/avif', 'image/webp'],
Expand Down
Loading