Skip to content

Commit

Permalink
v 2.4.71-rc.2 in PRE
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Oct 10, 2023
1 parent 699b1c6 commit 83bd13c
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 75 deletions.
25 changes: 3 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,14 @@ export const environment = {
#### dashboard-config.json
```typescript

WIDGET_BASE_URL: "https://<YOUR_CHAT21_WEB_WIDGET_URL>:4200/launch.js",
WIDGET_BASE_URL: "https://<YOUR_CHAT21_WEB_WIDGET_URL>:4200/",

botcredendialsURL: "https://<YOUR_BOT_CREDENTIALS_URL>",

SERVER_BASE_URL: "https://<YOUR_TILEDESK_SERVER>/",

CHAT_BASE_URL: "https://<YOUR_CHAT21_IONIC_URL>/chat",

testsiteBaseUrl: "http://localhost:4200/assets/test_widget_page/index.html",

globalRemoteJSSrc: "https://<YOUR_CUSTOM_SCRIPT_1>, https://<YOUR_CUSTOM_SCRIPT_2>" // see the section below "Load external scripts"

firebaseAuth : false,
Expand Down Expand Up @@ -238,28 +236,11 @@ tiledesk-dashboard

```
# Brand
Edit the file brand.json in the folder `src/assets/brand/` or load an external json by adding in environment.*.ts (or in the `dashboard-config.json` if `remoteConfig` is set to `true`) `brandSrc :"https://<YOUR_BRAND_JSON>/` to customize:

- company name,

- logo images,

- navigation,

- contact email and more

`Note: enable CORS if brand json is loaded from a different domain`



#### dashboard-config.json
```typescript

WIDGET_BASE_URL: "https://<YOUR_CHAT21_WEB_WIDGET_URL>:4200/launch.js",
WIDGET_BASE_URL: "https://<YOUR_CHAT21_WEB_WIDGET_URL>:4200/",

botcredendialsURL: "https://<YOUR_BOT_CREDENTIALS_URL>",

Expand Down Expand Up @@ -309,7 +290,7 @@ Load external scripts by adding in environment.*.ts (if `remoteConfig` is set to

```typescript

WIDGET_BASE_URL: "https://<YOUR_CHAT21_WEB_WIDGET_URL>:4200/launch.js",
WIDGET_BASE_URL: "https://<YOUR_CHAT21_WEB_WIDGET_URL>:4200/",

botcredendialsURL: "https://<YOUR_BOT_CREDENTIALS_URL>",

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tiledesk/tiledesk-dashboard",
"version": "2.4.70",
"version": "2.4.71-rc.2",
"scripts": {
"ng": "ng",
"start": "ng serve --aot",
Expand Down
Loading

0 comments on commit 83bd13c

Please sign in to comment.