From 7d6a82c668c9ff0046d0bc816044c82bb0845127 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Pasquier <contact@jbpasquier.eu>
Date: Tue, 5 May 2020 15:54:58 +0200
Subject: [PATCH] fix: use cdn startinblox instead of happy dev

---
 sib-chat.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sib-chat.js b/sib-chat.js
index 42e8463..f40a2b1 100644
--- a/sib-chat.js
+++ b/sib-chat.js
@@ -1,5 +1,5 @@
-import 'https://cdn.happy-dev.fr/conversejs/dist/converse.min.js';
-import 'https://cdn.happy-dev.fr/conversejs/dist/emojis.js';
+import 'https://cdn.startinblox.com/converse/dist/converse.min.js';
+import 'https://cdn.startinblox.com/converse/dist/emojis.js';
 import 'https://unpkg.com/@startinblox/component-chat/plugins/converse-rai.js';
 import { Helpers, store } from 'https://unpkg.com/@startinblox/core@0.9';
 import { Sib } from "https://unpkg.com/@startinblox/core@0.9/dist/libs/Sib.js";
@@ -50,7 +50,7 @@ export const SibChat = {
         mode: "open"
       });
       this.element.shadowRoot.append(...Helpers.importCSS(
-        'https://cdn.happy-dev.fr/conversejs/dist/converse.min.css',
+        'https://cdn.startinblox.com/converse/dist/converse.min.css',
         'https://unpkg.com/@startinblox/component-chat/themes/converse-hd.css'
       ));
       if (window.converse_sib === undefined) {
@@ -224,7 +224,7 @@ export const SibChat = {
       'show_desktop_notifications': false,
       // 'use_system_emojis': false,
       // 'show_send_button': true,
-      'sounds_path': 'https://cdn.happy-dev.fr/conversejs/sounds/',
+      'sounds_path': 'https://cdn.startinblox.com/converse/sounds/',
       'view_mode': 'fullscreen',
       'visible_toolbar_buttons': {
         call: false,
-- 
GitLab