File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ ENV NEXT_TELEMETRY_DISABLED=1 \
1414 NEXT_PUBLIC_ADS_ROUTE=/services/ads \
1515 NEXT_PUBLIC_DISCOUNTS_ROUTE=/services/discounts \
1616 NEXT_PUBLIC_DBM_ROUTE=/services/dbm \
17- NEXT_PUBLIC_FRONTEND_API_ROUTE=http://nginx :80 \
18- NEXT_PUBLIC_SPREE_API_HOST=http://nginx /services/backend \
17+ NEXT_PUBLIC_FRONTEND_API_ROUTE=http://service-proxy :80 \
18+ NEXT_PUBLIC_SPREE_API_HOST=http://service-proxy /services/backend \
1919 NEXT_PUBLIC_SPREE_CLIENT_HOST=/services/backend \
2020 NEXT_PUBLIC_SPREE_IMAGE_HOST=/services/backend \
21- NEXT_PUBLIC_SPREE_ALLOWED_IMAGE_DOMAIN=nginx \
21+ NEXT_PUBLIC_SPREE_ALLOWED_IMAGE_DOMAIN=service-proxy \
2222 DD_GIT_REPOSITORY_URL=${DD_GIT_REPOSITORY_URL} \
2323 DD_GIT_COMMIT_SHA=${DD_GIT_COMMIT_SHA}
2424
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Page } from '@customTypes/page'
33
44const SPREE_URL_SERVERSIDE = process . env . NEXT_PUBLIC_SPREE_API_HOST
55 ? `${ process . env . NEXT_PUBLIC_SPREE_API_HOST } /api/v2`
6- : 'http://nginx /services/backend/api/v2'
6+ : 'http://service-proxy /services/backend/api/v2'
77
88export const getPages = async ( options : any = { } ) : Promise < Page [ ] | any > => {
99 try {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Product } from '@customTypes/product'
33
44const SPREE_URL_SERVERSIDE = process . env . NEXT_PUBLIC_SPREE_API_HOST
55 ? `${ process . env . NEXT_PUBLIC_SPREE_API_HOST } /api/v2`
6- : 'http://nginx /services/backend/api/v2'
6+ : 'http://service-proxy /services/backend/api/v2'
77
88// GET CONTENT API
99export const getProducts = async (
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { Taxon } from '@customTypes/taxons'
33
44const SPREE_URL_SERVERSIDE = process . env . NEXT_PUBLIC_SPREE_API_HOST
55 ? `${ process . env . NEXT_PUBLIC_SPREE_API_HOST } /api/v2`
6- : 'http://nginx /services/backend/api/v2'
6+ : 'http://service-proxy /services/backend/api/v2'
77
88// get taxons
99export const getTaxons = async ( options : any = { } ) : Promise < Taxon [ ] | any > => {
You can’t perform that action at this time.
0 commit comments