File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed
packages/pwa-kit-create-app/assets
templates/@salesforce/retail-react-app/config Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,16 @@ module.exports = {
1515 site: 'path',
1616 // Determine where the localeRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
1717 locale: 'path',
18+ // This boolean value dictates whether or not default site or locale values are shown in the url. Defaults to: false
19+ showDefaults: true,
1820 {{ else }}
1921 // Determine where the siteRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
2022 site: 'none',
2123 // Determine where the localeRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
2224 locale: 'none',
23- {{ /if }}
2425 // This boolean value dictates whether or not default site or locale values are shown in the url. Defaults to: false
25- // showDefaults: true
26+ showDefaults: false,
27+ {{ /if }}
2628 // This boolean value dictates whether the plus sign (+) is interpreted as space for query param string. Defaults to: false
2729 interpretPlusSignAsSpace: false
2830 },
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ module.exports = [
2020 id: 'en-US',
2121 preferredCurrency: 'USD'
2222 },
23- {
24- id: 'de-DE',
25- preferredCurrency: 'EUR'
26- },
2723 {
2824 id: 'en-GB',
2925 preferredCurrency: 'GBP'
3026 },
27+ {
28+ id: 'de-DE',
29+ preferredCurrency: 'EUR'
30+ },
3131 {
3232 id: 'es-MX',
3333 preferredCurrency: 'MXN'
Original file line number Diff line number Diff line change @@ -15,14 +15,16 @@ module.exports = {
1515 site: 'path',
1616 // Determine where the localeRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
1717 locale: 'path',
18+ // This boolean value dictates whether default site or locale values are shown in the url. Defaults to: false
19+ showDefaults: true,
1820 {{ else }}
1921 // Determine where the siteRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
2022 site: 'none',
2123 // Determine where the localeRef is located. Valid values include 'path|query_param|none'. Defaults to: 'none'
2224 locale: 'none',
25+ // This boolean value dictates whether or not default site or locale values are shown in the url. Defaults to: false
26+ showDefaults: false,
2327 {{ /if }}
24- // This boolean value dictates whether default site or locale values are shown in the url. Defaults to: false
25- // showDefaults: true,
2628 // This boolean value dictates whether the plus sign (+) is interpreted as space for query param string. Defaults to: false
2729 interpretPlusSignAsSpace: false
2830 },
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ module.exports = [
2020 id: 'en-US',
2121 preferredCurrency: 'USD'
2222 },
23- {
24- id: 'de-DE',
25- preferredCurrency: 'EUR'
26- },
2723 {
2824 id: 'en-GB',
2925 preferredCurrency: 'GBP'
3026 },
27+ {
28+ id: 'de-DE',
29+ preferredCurrency: 'EUR'
30+ },
3131 {
3232 id: 'es-MX',
3333 preferredCurrency: 'MXN'
You can’t perform that action at this time.
0 commit comments