66export const environment = {
77 production : false ,
88 version : require ( '../../package.json' ) . version , // https://stackoverflow.com/questions/34907682/how-to-display-app-version-in-angular2
9- // globalRemoteJSSrc:"/environments/real_data/segment_script-dev.js",
109 remoteConfig : true ,
11- // remoteConfigUrl: '/widget-config.json',
12- remoteConfigUrl : '/environments/real_data/widget-config-aws-stage.json' ,
13- // remoteConfigUrl: '/environments/real_data/widget-config-native-prod.json',
14- // remoteConfigUrl: '/environments/real_data/widget-config-firebase.json',
10+ remoteConfigUrl : '/widget-config.json' ,
1511 loadRemoteTranslations : true ,
16- remoteTranslationsUrl : 'https ://api.tiledesk.com/v3 /' ,
12+ remoteTranslationsUrl : 'http ://localhost:3000 /' ,
1713 chatEngine : 'mqtt' ,
1814 uploadEngine : 'native' ,
19- logLevel : 'ERROR' ,
15+ tenant : 'tilechat' ,
16+ logLevel : 'INFO' ,
2017 firebaseConfig : {
21- apiKey : 'AIzaSyDKfdKrlD7AYcbQ-U-xxgV-b3FUQ4xt7NM ' ,
22- authDomain : 'tiledesk-prod-v2.firebaseapp.com ' ,
23- databaseURL : 'https://tiledesk-prod-v2.firebaseio.com ' ,
24- projectId : 'tiledesk-prod-v2 ' ,
25- storageBucket : 'tiledesk-prod-v2.appspot.com ' ,
26- messagingSenderId : '92907897826 ' ,
27- appId : '1:92907897826:web:f255664014a7cc14ee2fbb ' ,
28- tenant : 'tilechat' ,
18+ apiKey : 'CHANGEIT ' ,
19+ authDomain : 'CHANGEIT ' ,
20+ databaseURL : 'CHANGEIT ' ,
21+ projectId : 'CHANGEIT ' ,
22+ storageBucket : 'CHANGEIT ' ,
23+ messagingSenderId : 'CHANGEIT ' ,
24+ appId : 'CHANGEIT ' ,
25+ tenant : 'tilechat'
2926 } ,
3027 chat21Config : {
3128 appId : 'tilechat' ,
32- MQTTendpoint : 'wss://eu.chatv3.tiledesk.com/ws/' , // MQTT endpoint
33- APIendpoint : 'https://eu.chathttpv3.tiledesk.com/api' ,
34- log : true
29+ MQTTendpoint : 'mqtt://localhost:15675/ws' , // MQTT endpoint
30+ APIendpoint : 'http://localhost:8004/api'
3531 } ,
36- apiUrl : 'https ://api.tiledesk.com/v3 /' ,
32+ apiUrl : 'http ://localhost:3000 /' ,
3733 baseImageUrl : 'https://firebasestorage.googleapis.com/v0/b/' ,
38- dashboardUrl : 'https ://localhost:4000 /' ,
34+ dashboardUrl : 'http ://localhost:4500 /' ,
3935 defaultLang : 'en' ,
40- storage_prefix : 'widget_sv6 ' ,
36+ storage_prefix : 'widget_sv5 ' ,
4137 authPersistence : 'LOCAL' ,
4238 supportMode : true ,
43- enbedJs : true ,
44- brandSrc : ''
45- } ;
46-
47-
48- // export const environment = {
49- // production: true,
50- // version: require('../../package.json').version, // https://stackoverflow.com/questions/34907682/how-to-display-app-version-in-angular2
51- // remoteConfig: false,
52- // remoteConfigUrl: '/widget-config.json',
53- // loadRemoteTranslations: true,
54- // remoteTranslationsUrl: 'https://api.tiledesk.com/v3/',
55- // chatEngine: 'mqtt',
56- // uploadEngine: 'native',
57- // fileUploadAccept:"*/*",
58- // logLevel: 'ERROR',
59- // firebaseConfig: {
60- // apiKey: 'AIzaSyDKfdKrlD7AYcbQ-U-xxgV-b3FUQ4xt7NM',
61- // authDomain: 'tiledesk-prod-v2.firebaseapp.com',
62- // databaseURL: 'https://tiledesk-prod-v2.firebaseio.com',
63- // projectId: 'tiledesk-prod-v2',
64- // storageBucket: 'tiledesk-prod-v2.appspot.com',
65- // messagingSenderId: '92907897826',
66- // appId: '1:92907897826:web:f255664014a7cc14ee2fbb',
67- // tenant: 'tilechat',
68- // },
69- // chat21Config: {
70- // appId: 'tilechat',
71- // MQTTendpoint: 'wss://eu.rtmv3.tiledesk.com/mqws/ws', // MQTT endpoint
72- // APIendpoint: 'https://eu.rtmv3.tiledesk.com/chatapi/api',
73- // log: false
74- // },
75- // apiUrl: 'https://api.tiledesk.com/v3/',
76- // baseImageUrl: 'https://eu.rtmv3.tiledesk.com/api/',
77- // defaultLang : 'en',
78- // storage_prefix : 'widget_sv5',
79- // authPersistence: 'LOCAL',
80- // supportMode: true,
81- // enbedJs: true
82- // };
39+ enbedJs : true
40+ } ;
0 commit comments