mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 21:02:10 +01:00
fixed typo
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
|
// Main entry point to the app
|
||||||
function main() {
|
function main() {
|
||||||
const ws = new WebSocket(`ws://localhost:${CONFIG.remoteAppPort}`);
|
const ws = new WebSocket(`ws://localhost:${CONFIG.remoteAppPort}`);
|
||||||
const paylaod = {
|
const payload = {
|
||||||
type: "auth",
|
type: "auth",
|
||||||
payload: {
|
payload: {
|
||||||
identifier: "de.tealfire.obs",
|
identifier: "de.tealfire.obs",
|
||||||
@@ -19,7 +20,7 @@ function main() {
|
|||||||
|
|
||||||
ws.onopen = (event) => {
|
ws.onopen = (event) => {
|
||||||
// Send payload to TS5 client
|
// Send payload to TS5 client
|
||||||
ws.send(JSON.stringify(paylaod));
|
ws.send(JSON.stringify(payload));
|
||||||
};
|
};
|
||||||
|
|
||||||
ws.onmessage = (event) => {
|
ws.onmessage = (event) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user