Skip to content

Commit e760832

Browse files
committed
Update config templates
1 parent c0b691d commit e760832

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

packages/pwa-kit-create-app/assets/bootstrap/js/config/default.js.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,19 @@ module.exports = {
4545
locale: 'path',
4646
// This boolean value dictates whether or not default site or locale values are shown in the url. Defaults to: false
4747
showDefaults: true,
48+
// This boolean value dictates whether or not the base path, defined in ssrParameters.envBasePath,
49+
// is shown in shopper facing urls. Defaults to: false
50+
showBasename: false,
4851
{{else}}
4952
// Determine where the siteRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
5053
site: 'none',
5154
// Determine where the localeRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
5255
locale: 'none',
5356
// This boolean value dictates whether or not default site or locale values are shown in the url. Defaults to: false
5457
showDefaults: false,
58+
// This boolean value dictates whether or not the base path, defined in ssrParameters.envBasePath,
59+
// is shown in shopper facing urls. Defaults to: false
60+
showBasename: false,
5561
{{/if}}
5662
// This boolean value dictates whether the plus sign (+) is interpreted as space for query param string. Defaults to: false
5763
interpretPlusSignAsSpace: false

packages/pwa-kit-create-app/assets/templates/@salesforce/retail-react-app/config/default.js.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,19 @@ module.exports = {
4545
locale: 'path',
4646
// This boolean value dictates whether default site or locale values are shown in the url. Defaults to: false
4747
showDefaults: true,
48+
// This boolean value dictates whether or not the base path, defined in ssrParameters.envBasePath,
49+
// is shown in shopper facing urls. Defaults to: false
50+
showBasename: false,
4851
{{else}}
4952
// Determine where the siteRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
5053
site: 'none',
5154
// Determine where the localeRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
5255
locale: 'none',
5356
// This boolean value dictates whether or not default site or locale values are shown in the url. Defaults to: false
5457
showDefaults: false,
58+
// This boolean value dictates whether or not the base path, defined in ssrParameters.envBasePath,
59+
// is shown in shopper facing urls. Defaults to: false
60+
showBasename: false,
5561
{{/if}}
5662
// This boolean value dictates whether the plus sign (+) is interpreted as space for query param string. Defaults to: false
5763
interpretPlusSignAsSpace: false

packages/template-retail-react-app/config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = {
2727
site: 'path',
2828
locale: 'path',
2929
showDefaults: true,
30+
showBasename: false,
3031
interpretPlusSignAsSpace: false
3132
},
3233
login: {
@@ -97,7 +98,6 @@ module.exports = {
9798
],
9899
ssrParameters: {
99100
ssrFunctionNodeVersion: '22.x',
100-
envBasePath: '/store',
101101
proxyConfigs: [
102102
{
103103
host: 'kv7kzm78.api.commercecloud.salesforce.com',

0 commit comments

Comments
 (0)