Skip to content

Commit

Permalink
remove doubled pathname issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTyp7 committed Nov 12, 2023
1 parent 0b74390 commit 232bca2
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 10 deletions.
6 changes: 2 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="An OBS overlay for TeamSpeak5, so your audience can see who is talking. https://github.com/DerTyp7/ts5-obs-overlay"
/>
<meta name="description" content="An OBS overlay for TeamSpeak5, so your audience can see who is talking. https://github.com/DerTyp7/ts5-obs-overlay" />
<meta name="author" content="DerTyp7" />
<link rel="icon" href="/logo.svg" type="image/x-icon" />
<title>TS5-OBS-Overlay</title>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ts5-obs-overlay",
"private": false,
"version": "2.0.4",
"version": "2.0.5",
"description": "Overlay for OBS to show the current talking clients in your TeamSpeak 5 Channel",
"author": "DerTyp7",
"homepage": "https://dertyp7.github.io/ts5-obs-overlay/#",
Expand Down
23 changes: 23 additions & 0 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions src/Generator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ export default function Generator() {
url.searchParams.set("hideNonTalking", hideNonTalking.toString());
url.searchParams.set("clientLimit", clientLimit.toString());

if (url.hostname.includes("dertyp7.github.io")) {
url.pathname = url.pathname + "ts5-obs-overlay/";
}

setOutputUrl(url.toString());
}

Expand Down
2 changes: 1 addition & 1 deletion src/Viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Viewer({
remoteAppPort: remoteAppPort,
auth: {
identifier: "de.tealfire.obs",
version: "2.0.4",
version: "2.0.5",
name: "TS5 OBS Overlay",
description: "A OBS overlay for TS5 by DerTyp7",
},
Expand Down

0 comments on commit 232bca2

Please sign in to comment.