mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-30 13:17:11 +01:00
api key now gets shown in console
This commit is contained in:
@@ -23,10 +23,15 @@ function main() {
|
||||
|
||||
ws.onmessage = (event) => {
|
||||
let data = JSON.parse(event.data);
|
||||
console.log(data);
|
||||
// console.log(data);
|
||||
switch (data.type) {
|
||||
case "auth":
|
||||
handleAuthMessage(data);
|
||||
console.log(
|
||||
"%c --> API-KEY: %s ",
|
||||
"color:red;font-weight:bold;",
|
||||
` ${data.payload.apiKey}`
|
||||
);
|
||||
break;
|
||||
case "clientMoved":
|
||||
handleClientMoved(data);
|
||||
|
||||
Reference in New Issue
Block a user