Skip to content

Commit

Permalink
Merge pull request #20 from dmytro-komlyk/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
dmytro-komlyk authored Mar 13, 2024
2 parents 6891d21 + 98aacb5 commit 58d2b84
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions apps/admin/.env.docker.local.example
Original file line number Diff line number Diff line change
@@ -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`:
Expand Down
2 changes: 1 addition & 1 deletion apps/admin/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const nextConfig = {
return config
},
images: {
domains: ['185.65.244.84'],
domains: ['server.admin.pp.ua'],
contentDispositionType: 'attachment',
unoptimized: true,
},
Expand Down
3 changes: 1 addition & 2 deletions apps/client/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const nextConfig = {
return config
},
images: {
// domains: ['localhost', '185.65.244.84', 'fixlab.pp.ua'],
remotePatterns: [
{
protocol: 'https',
Expand All @@ -18,7 +17,7 @@ const nextConfig = {
pathname: '/public/**',
},
],
// formats: ['image/avif', 'image/webp'],
formats: ['image/avif', 'image/webp'],
},
output: 'standalone',
}
Expand Down

0 comments on commit 58d2b84

Please sign in to comment.