Skip to content

Commit

Permalink
πŸ‘‰ **changed**: whatsappApiUrl to whatsappTemplatesBaseUrl env property
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed May 22, 2024
1 parent 307bf72 commit 2c8beca
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class CdsDashboardComponent implements OnInit {

private initialize(){
let serverBaseURL = this.appConfigService.getConfig().apiUrl
let whatsappBaseUrl = this.appConfigService.getConfig().whatsappApiUrl
let whatsappBaseUrl = this.appConfigService.getConfig().whatsappTemplatesBaseUrl

this.departmentService.initialize(serverBaseURL, this.project._id);
this.faqKbService.initialize(serverBaseURL, this.project._id)
Expand Down
1 change: 1 addition & 0 deletions src/design-studio-config-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"globalRemoteJSSrc": "${REMOTE_JS_SRC}",
"widgetBaseUrl": "${WIDGET_LOCATION}",
"dashboardBaseUrl": "${DASHBOARD_URL}",
"whatsappTemplatesBaseUrl":"${WHATSAPP_TEMPLATES_BASE_URL}",
"wsUrl": "${WS_URL}",
"wsUrlRel": "${WS_URL_RELATIVE}",
"uploadEngine": "${UPLOAD_ENGINE}",
Expand Down
1 change: 1 addition & 0 deletions src/design-studio-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"globalRemoteJSSrc": "${REMOTE_JS_SRC}",
"widgetBaseUrl": "${WIDGET_LOCATION}",
"dashboardBaseUrl": "${DASHBOARD_URL}",
"whatsappTemplatesBaseUrl":"${WHATSAPP_TEMPLATES_BASE_URL}",
"wsUrl": "${WS_URL}",
"wsUrlRel": "${WS_URL_RELATIVE}",
"uploadEngine": "${UPLOAD_ENGINE}",
Expand Down
1 change: 1 addition & 0 deletions src/environments/environment.pre.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const environment = {
apiUrl: 'CHANGEIT',
widgetBaseUrl: 'CHANGEIT',
dashboardBaseUrl: 'CHANGEIT',
whatsappTemplatesBaseUrl: 'CHANGEIT',
wsUrl: 'ws://localhost:3000/',
uploadEngine: 'native',
baseImageUrl: 'CHANGEIT',
Expand Down
1 change: 1 addition & 0 deletions src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const environment = {
apiUrl: 'CHANGEIT',
widgetBaseUrl: 'CHANGEIT',
dashboardBaseUrl: 'CHANGEIT',
whatsappTemplatesBaseUrl: 'CHANGEIT',
wsUrl: 'ws://localhost:3000/',
uploadEngine: 'native',
baseImageUrl: 'CHANGEIT',
Expand Down
1 change: 1 addition & 0 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const environment = {
apiUrl: 'http://localhost:3000/',
widgetBaseUrl: 'http://localhost:4200/',
dashboardBaseUrl: 'http://localhost:4200/',
whatsappTemplatesBaseUrl: 'http://localhost:3000/',
wsUrl: 'ws://localhost:3000/',
uploadEngine: 'native',
baseImageUrl: 'CHANGEIT',
Expand Down

0 comments on commit 2c8beca

Please sign in to comment.