diff --git a/README.md b/README.md
index cc5e403..6485aa8 100644
--- a/README.md
+++ b/README.md
@@ -20,16 +20,16 @@ This overlay uses the [TeamSpeak5 Remote App API](https://github.com/DerTyp7/rea
### Quick instructions
-1. Open this link in your Browser: [https://dertyp7.github.io/ts5-obs-overlay/generate](https://dertyp7.github.io/ts5-obs-overlay/generate)
+1. Open this link in your Browser: [https://ts5-overlay.tealfire.de/#/generate](https://ts5-overlay.tealfire.de/#/generate)
2. Follow the instructions on the website
3. Accept overlay inside TeamSpeak5
- 
+ 
### Detailed instructions
Try this instruction if you have problems with the quick instructions above.
-1. Open this link in your Browser: [https://dertyp7.github.io/ts5-obs-overlay/generate](https://dertyp7.github.io/ts5-obs-overlay/generate)
+1. Open this link in your Browser: [https://ts5-overlay.tealfire.de/#/generate](https://ts5-overlay.tealfire.de/#/generate)
2. Follow the instructions on the website
@@ -41,9 +41,9 @@ Try this instruction if you have problems with the quick instructions above.

5. Enter the in step 1 generated URL into the URL field of the Browser Source
- 
+ 
-6. Set the width and height to your desired size. Recommended is a ratio of 1:1 or 1:2 (e.g. 1500x3000 OR 1000x2000)
+6. Set the width and height to your desired size. Recommended is a width of 1000px and the height is determined of how many clients are expected (play around with these values)
7. You should now receive a notification in TeamSpeak5 that the app is allowed to connect to your TeamSpeak5 client. Allow it. (If you don't get a notification, restart TeamSpeak5 and OBS -> try again)

diff --git a/index.html b/index.html
index df04aa3..c794ea7 100644
--- a/index.html
+++ b/index.html
@@ -3,11 +3,9 @@
-
+
+
TS5-OBS-Overlay
diff --git a/package-lock.json b/package-lock.json
index 190db85..3d761d0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "ts5-obs-overlay",
- "version": "2.0.0",
+ "version": "2.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "ts5-obs-overlay",
- "version": "2.0.0",
+ "version": "2.1.0",
"dependencies": {
"@types/node": "^20.8.3",
"react": "^18.2.0",
diff --git a/package.json b/package.json
index 2fe732e..100ed26 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,10 @@
{
"name": "ts5-obs-overlay",
"private": false,
- "version": "2.0.0",
- "description": "Overlay for OBS to show the current talking clients in your Teamspeak 5 Channel",
+ "version": "2.1.0",
+ "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",
+ "homepage": "https://dertyp7.github.io/ts5-obs-overlay/#",
"repository": {
"type": "git",
"url": "https://github.com/DerTyp7/ts5-obs-overlay"
diff --git a/public/logo.svg b/public/logo.svg
new file mode 100644
index 0000000..9c9cdc7
--- /dev/null
+++ b/public/logo.svg
@@ -0,0 +1,23 @@
+
+
+
diff --git a/src/App.tsx b/src/App.tsx
index eded429..ee78e43 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -21,7 +21,6 @@ export default function App() {
}
/>
} />
- } />
);
}
diff --git a/src/Generator.tsx b/src/Generator.tsx
index d83a3a1..99fd8e9 100644
--- a/src/Generator.tsx
+++ b/src/Generator.tsx
@@ -19,13 +19,17 @@ export default function Generator() {
// Function to generate the output URL
function generateUrl() {
- const url = new URL(window.location.href.replace("/generate", ""));
+ const url = new URL(window.location.href);
+ url.hash = "";
+
url.searchParams.set("remoteAppPort", remoteAppPort.toString());
url.searchParams.set("showChannelName", showChannelName.toString());
url.searchParams.set("hideNonTalking", hideNonTalking.toString());
url.searchParams.set("clientLimit", clientLimit.toString());
- setOutputUrl(url.toString());
+ // url.hash function always sets the hash to the end of the URL, so we have to replace the question mark with a hash
+ // gh-pages needs the hash to be between the base URL and the search params
+ setOutputUrl(url.toString().replace("?", "#/?"));
}
// Function to copy URL to clipboard
@@ -58,7 +62,7 @@ export default function Generator() {
1. Customize your settings
2. Copy the generated URL
3. Paste the URL into the BrowserSource URL field in OBS
- Click here for detailed instructions
+ Click here for detailed instructions
{/* Output Section */}
diff --git a/src/Viewer.tsx b/src/Viewer.tsx
index 44d6945..620a6e9 100644
--- a/src/Viewer.tsx
+++ b/src/Viewer.tsx
@@ -16,7 +16,7 @@ export default function Viewer({
remoteAppPort: remoteAppPort,
auth: {
identifier: "de.tealfire.obs",
- version: "2.0.0",
+ version: "2.1.0",
name: "TS5 OBS Overlay",
description: "A OBS overlay for TS5 by DerTyp7",
},
@@ -31,7 +31,7 @@ export default function Viewer({
return (