@hivegpt/hiveai-angular 0.0.215 → 0.0.217

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -505,14 +505,14 @@
505
505
 
506
506
  var prod_environment = {
507
507
  USERS_API: 'https://es-user.social27.com/api',
508
- BASE_URL: 'https://agent-api.hivegpt.ai',
508
+ BASE_URL: 'http://127.0.0.1:8001',
509
509
  AGENTS_API: 'https://hive-ai.social27.com/api',
510
510
  API_KEY: 'b621eb3f-0bd2-41d5-a48c-a8f8ab7d38f8',
511
511
  SocketUrl: 'https://notif-v2-ws.social27.com/'
512
512
  };
513
513
  var dev_environment = {
514
514
  USERS_API: 'https://pre-user.social27.com/api',
515
- BASE_URL: 'https://agent-api.hivegpt.ai',
515
+ BASE_URL: 'http://127.0.0.1:8001',
516
516
  AGENTS_API: 'https://hive-ai.social27.com/api',
517
517
  API_KEY: 'b621eb3f-0bd2-41d5-a48c-a8f8ab7d38f8',
518
518
  SocketUrl: 'https://notif-v2-ws.social27.com/'
@@ -1149,7 +1149,7 @@
1149
1149
  }),
1150
1150
  })
1151
1151
  .then(function (response) {
1152
- if (response.status === 401) {
1152
+ if (response.status === 401 || response.status === 403) {
1153
1153
  _this.is401 = true;
1154
1154
  _this.refreshToken.emit();
1155
1155
  }
@@ -1207,7 +1207,7 @@
1207
1207
  }),
1208
1208
  })
1209
1209
  .then(function (response) {
1210
- if (response.status === 401) {
1210
+ if (response.status === 401 || response.status === 403) {
1211
1211
  _this.msg = msg;
1212
1212
  _this.chat = chat;
1213
1213
  _this.is401 = true;