chore: wire Carplace into dev and production stacks
Build & Deploy / Build & Push Docker Image (push) Successful in 2m55s
Test / Type Check (all packages) (push) Successful in 54s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Failing after 48s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Failing after 40s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Failing after 42s
Test / API Integration Tests (push) Successful in 1m0s
Build & Deploy / Build & Push Docker Image (push) Successful in 2m55s
Test / Type Check (all packages) (push) Successful in 54s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Failing after 48s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Failing after 40s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Failing after 42s
Test / API Integration Tests (push) Successful in 1m0s
This commit is contained in:
@@ -54,17 +54,17 @@ const nextConfig: NextConfig = {
|
||||
process.env.DASHBOARD_INTERNAL_URL ?? 'http://dashboard:3001';
|
||||
const adminOrigin =
|
||||
process.env.ADMIN_INTERNAL_URL ?? 'http://admin:3002';
|
||||
const storefrontOrigin =
|
||||
process.env.STOREFRONT_INTERNAL_URL ?? 'http://storefront:3004';
|
||||
const carplaceOrigin =
|
||||
process.env.CARPLACE_INTERNAL_URL ?? 'http://carplace:3004';
|
||||
|
||||
return [
|
||||
{
|
||||
source: '/storefront',
|
||||
destination: `${storefrontOrigin}`,
|
||||
source: '/carplace',
|
||||
destination: `${carplaceOrigin}`,
|
||||
},
|
||||
{
|
||||
source: '/storefront/:path*',
|
||||
destination: `${storefrontOrigin}/:path*`,
|
||||
source: '/carplace/:path*',
|
||||
destination: `${carplaceOrigin}/:path*`,
|
||||
},
|
||||
{
|
||||
source: '/dashboard',
|
||||
|
||||
Reference in New Issue
Block a user