Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Stop using skypack CDN for emoji button and bump version. Address #141

Gabe Kangasef33717d7d1a
diff --git a/webroot/index.html b/webroot/index.html
index b549b81e81..04eb34aba0 100644
--- a/webroot/index.html
+++ b/webroot/index.html
@@ -42,7 +42,7 @@
<link href="./styles/app.css" rel="stylesheet" />
<!-- Preloads -->
- <link rel="preconnect" href="https://cdn.skypack.dev/pin/@joeattardi/[email protected]/min/@joeattardi/emoji-button.js" />
+ <link rel="preconnect" href="https://unpkg.com/@joeattardi/[email protected]/dist/index.js" />
<link rel="preconnect" href="https://unpkg.com/preact?module" />
<link rel="preconnect" href="https://unpkg.com/htm?module" />
diff --git a/webroot/js/components/chat/chat-input.js b/webroot/js/components/chat/chat-input.js
index 01900af6bc..5b97252052 100644
--- a/webroot/js/components/chat/chat-input.js
+++ b/webroot/js/components/chat/chat-input.js
@@ -2,7 +2,7 @@ import { h, Component, createRef } from 'https://unpkg.com/preact?module';
import htm from 'https://unpkg.com/htm?module';
const html = htm.bind(h);
-import { EmojiButton } from 'https://cdn.skypack.dev/pin/@joeattardi/[email protected]/min/@joeattardi/emoji-button.js';
+import { EmojiButton } from 'https://unpkg.com/@joeattardi/[email protected]/dist/index.js';
import ContentEditable, { replaceCaret } from './content-editable.js';
import { generatePlaceholderText, getCaretPosition, convertToText, convertOnPaste } from '../../utils/chat.js';
import { getLocalStorage, setLocalStorage, classNames } from '../../utils/helpers.js';