Skip to content

Commit ff4cc5a

Browse files
Merge pull request #2685 from dannyphan2000/dannyphan.modify-callback
update config files for prod env
2 parents 948dcfe + f0a5251 commit ff4cc5a

File tree

7 files changed

+266
-6
lines changed

7 files changed

+266
-6
lines changed

packages/template-retail-react-app/app/ssr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const options = {
3939
mobify: config,
4040

4141
// The port that the local dev server listens on
42-
port: 9000,
42+
port: 3000,
4343

4444
// The protocol on which the development Express app listens.
4545
// Note that http://localhost is treated as a secure context for development,

packages/template-retail-react-app/app/static/translations/compiled/en-GB.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,12 @@
10731073
"value": "Log In"
10741074
}
10751075
],
1076+
"contact_info.button.otp": [
1077+
{
1078+
"type": 0,
1079+
"value": "One-Time Password (OTP)"
1080+
}
1081+
],
10761082
"contact_info.button.password": [
10771083
{
10781084
"type": 0,
@@ -2323,6 +2329,12 @@
23232329
"value": "Google"
23242330
}
23252331
],
2332+
"login_form.button.otp": [
2333+
{
2334+
"type": 0,
2335+
"value": "One-Time Password (OTP)"
2336+
}
2337+
],
23262338
"login_form.button.password": [
23272339
{
23282340
"type": 0,
@@ -2481,6 +2493,48 @@
24812493
"value": "Tax"
24822494
}
24832495
],
2496+
"otp.button.resend_code": [
2497+
{
2498+
"type": 0,
2499+
"value": "Resend Code"
2500+
}
2501+
],
2502+
"otp.button.resend_timer": [
2503+
{
2504+
"type": 0,
2505+
"value": "Resend code in "
2506+
},
2507+
{
2508+
"type": 1,
2509+
"value": "seconds"
2510+
},
2511+
{
2512+
"type": 0,
2513+
"value": "s"
2514+
}
2515+
],
2516+
"otp.button.verify_sign_in": [
2517+
{
2518+
"type": 0,
2519+
"value": "Verify & Sign In"
2520+
}
2521+
],
2522+
"otp.message.code_sent": [
2523+
{
2524+
"type": 0,
2525+
"value": "We've sent an 8-digit code to your email "
2526+
},
2527+
{
2528+
"type": 1,
2529+
"value": "email"
2530+
}
2531+
],
2532+
"otp.title.enter_verification_code": [
2533+
{
2534+
"type": 0,
2535+
"value": "Enter Verification Code"
2536+
}
2537+
],
24842538
"page_not_found.action.go_back": [
24852539
{
24862540
"type": 0,

packages/template-retail-react-app/app/static/translations/compiled/en-US.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,12 @@
10731073
"value": "Log In"
10741074
}
10751075
],
1076+
"contact_info.button.otp": [
1077+
{
1078+
"type": 0,
1079+
"value": "One-Time Password (OTP)"
1080+
}
1081+
],
10761082
"contact_info.button.password": [
10771083
{
10781084
"type": 0,
@@ -2323,6 +2329,12 @@
23232329
"value": "Google"
23242330
}
23252331
],
2332+
"login_form.button.otp": [
2333+
{
2334+
"type": 0,
2335+
"value": "One-Time Password (OTP)"
2336+
}
2337+
],
23262338
"login_form.button.password": [
23272339
{
23282340
"type": 0,
@@ -2481,6 +2493,48 @@
24812493
"value": "Tax"
24822494
}
24832495
],
2496+
"otp.button.resend_code": [
2497+
{
2498+
"type": 0,
2499+
"value": "Resend Code"
2500+
}
2501+
],
2502+
"otp.button.resend_timer": [
2503+
{
2504+
"type": 0,
2505+
"value": "Resend code in "
2506+
},
2507+
{
2508+
"type": 1,
2509+
"value": "seconds"
2510+
},
2511+
{
2512+
"type": 0,
2513+
"value": "s"
2514+
}
2515+
],
2516+
"otp.button.verify_sign_in": [
2517+
{
2518+
"type": 0,
2519+
"value": "Verify & Sign In"
2520+
}
2521+
],
2522+
"otp.message.code_sent": [
2523+
{
2524+
"type": 0,
2525+
"value": "We've sent an 8-digit code to your email "
2526+
},
2527+
{
2528+
"type": 1,
2529+
"value": "email"
2530+
}
2531+
],
2532+
"otp.title.enter_verification_code": [
2533+
{
2534+
"type": 0,
2535+
"value": "Enter Verification Code"
2536+
}
2537+
],
24842538
"page_not_found.action.go_back": [
24852539
{
24862540
"type": 0,

packages/template-retail-react-app/app/static/translations/compiled/en-XA.json

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,6 +2209,20 @@
22092209
"value": "]"
22102210
}
22112211
],
2212+
"contact_info.button.otp": [
2213+
{
2214+
"type": 0,
2215+
"value": "["
2216+
},
2217+
{
2218+
"type": 0,
2219+
"value": "Ǿƞḗḗ-Ŧīḿḗḗ Ƥȧȧşşẇǿǿřḓ (ǾŦƤ)"
2220+
},
2221+
{
2222+
"type": 0,
2223+
"value": "]"
2224+
}
2225+
],
22122226
"contact_info.button.password": [
22132227
{
22142228
"type": 0,
@@ -4971,6 +4985,20 @@
49714985
"value": "]"
49724986
}
49734987
],
4988+
"login_form.button.otp": [
4989+
{
4990+
"type": 0,
4991+
"value": "["
4992+
},
4993+
{
4994+
"type": 0,
4995+
"value": "Ǿƞḗḗ-Ŧīḿḗḗ Ƥȧȧşşẇǿǿřḓ (ǾŦƤ)"
4996+
},
4997+
{
4998+
"type": 0,
4999+
"value": "]"
5000+
}
5001+
],
49745002
"login_form.button.password": [
49755003
{
49765004
"type": 0,
@@ -5289,6 +5317,88 @@
52895317
"value": "]"
52905318
}
52915319
],
5320+
"otp.button.resend_code": [
5321+
{
5322+
"type": 0,
5323+
"value": "["
5324+
},
5325+
{
5326+
"type": 0,
5327+
"value": "Řḗḗşḗḗƞḓ Ƈǿǿḓḗḗ"
5328+
},
5329+
{
5330+
"type": 0,
5331+
"value": "]"
5332+
}
5333+
],
5334+
"otp.button.resend_timer": [
5335+
{
5336+
"type": 0,
5337+
"value": "["
5338+
},
5339+
{
5340+
"type": 0,
5341+
"value": "Řḗḗşḗḗƞḓ ƈǿǿḓḗḗ īƞ "
5342+
},
5343+
{
5344+
"type": 1,
5345+
"value": "seconds"
5346+
},
5347+
{
5348+
"type": 0,
5349+
"value": "ş"
5350+
},
5351+
{
5352+
"type": 0,
5353+
"value": "]"
5354+
}
5355+
],
5356+
"otp.button.verify_sign_in": [
5357+
{
5358+
"type": 0,
5359+
"value": "["
5360+
},
5361+
{
5362+
"type": 0,
5363+
"value": "Ṽḗḗřīƒẏ & Şīɠƞ Īƞ"
5364+
},
5365+
{
5366+
"type": 0,
5367+
"value": "]"
5368+
}
5369+
],
5370+
"otp.message.code_sent": [
5371+
{
5372+
"type": 0,
5373+
"value": "["
5374+
},
5375+
{
5376+
"type": 0,
5377+
"value": "Ẇḗḗ'ṽḗḗ şḗḗƞŧ ȧȧƞ 8-ḓīɠīŧ ƈǿǿḓḗḗ ŧǿǿ ẏǿǿŭŭř ḗḗḿȧȧīŀ "
5378+
},
5379+
{
5380+
"type": 1,
5381+
"value": "email"
5382+
},
5383+
{
5384+
"type": 0,
5385+
"value": "]"
5386+
}
5387+
],
5388+
"otp.title.enter_verification_code": [
5389+
{
5390+
"type": 0,
5391+
"value": "["
5392+
},
5393+
{
5394+
"type": 0,
5395+
"value": "Ḗƞŧḗḗř Ṽḗḗřīƒīƈȧȧŧīǿǿƞ Ƈǿǿḓḗḗ"
5396+
},
5397+
{
5398+
"type": 0,
5399+
"value": "]"
5400+
}
5401+
],
52925402
"page_not_found.action.go_back": [
52935403
{
52945404
"type": 0,

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ module.exports = {
4141
commerceAPI: {
4242
proxyPath: `/mobify/proxy/api`,
4343
parameters: {
44-
clientId: 'de07bc02-1abc-422d-b932-65e27c069e38',
45-
organizationId: 'f_ecom_bhbg_stg',
46-
shortCode: 'sandbox-001',
44+
clientId: '8b09852b-355a-4227-b17e-11afd42cab70',
45+
organizationId: 'f_ecom_zzrf_001',
46+
shortCode: '8o7m175y',
4747
siteId: 'RefArchGlobal'
4848
}
4949
},
@@ -74,11 +74,11 @@ module.exports = {
7474
ssrFunctionNodeVersion: '22.x',
7575
proxyConfigs: [
7676
{
77-
host: 'sandbox-001.api.commercecloud.salesforce.com',
77+
host: 'kv7kzm78.api.commercecloud.salesforce.com',
7878
path: 'api'
7979
},
8080
{
81-
host: 'bhbg_stg.dx.commercecloud.salesforce.com',
81+
host: 'zzrf-001.dx.commercecloud.salesforce.com',
8282
path: 'ocapi'
8383
}
8484
]

packages/template-retail-react-app/translations/en-GB.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,9 @@
427427
"contact_info.button.login": {
428428
"defaultMessage": "Log In"
429429
},
430+
"contact_info.button.otp": {
431+
"defaultMessage": "One-Time Password (OTP)"
432+
},
430433
"contact_info.button.password": {
431434
"defaultMessage": "Password"
432435
},
@@ -999,6 +1002,9 @@
9991002
"login_form.button.google": {
10001003
"defaultMessage": "Google"
10011004
},
1005+
"login_form.button.otp": {
1006+
"defaultMessage": "One-Time Password (OTP)"
1007+
},
10021008
"login_form.button.password": {
10031009
"defaultMessage": "Password"
10041010
},
@@ -1060,6 +1066,21 @@
10601066
"order_summary.label.tax": {
10611067
"defaultMessage": "Tax"
10621068
},
1069+
"otp.button.resend_code": {
1070+
"defaultMessage": "Resend Code"
1071+
},
1072+
"otp.button.resend_timer": {
1073+
"defaultMessage": "Resend code in {seconds}s"
1074+
},
1075+
"otp.button.verify_sign_in": {
1076+
"defaultMessage": "Verify & Sign In"
1077+
},
1078+
"otp.message.code_sent": {
1079+
"defaultMessage": "We've sent an 8-digit code to your email {email}"
1080+
},
1081+
"otp.title.enter_verification_code": {
1082+
"defaultMessage": "Enter Verification Code"
1083+
},
10631084
"page_not_found.action.go_back": {
10641085
"defaultMessage": "Back to previous page"
10651086
},

0 commit comments

Comments
 (0)