mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 12:52:09 +01:00
fix hashruter generator
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ts5-obs-overlay",
|
||||
"private": false,
|
||||
"version": "2.0.5",
|
||||
"version": "2.0.6",
|
||||
"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/#",
|
||||
|
||||
@@ -27,7 +27,9 @@ export default function Generator() {
|
||||
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
|
||||
|
||||
@@ -16,7 +16,7 @@ export default function Viewer({
|
||||
remoteAppPort: remoteAppPort,
|
||||
auth: {
|
||||
identifier: "de.tealfire.obs",
|
||||
version: "2.0.5",
|
||||
version: "2.0.6",
|
||||
name: "TS5 OBS Overlay",
|
||||
description: "A OBS overlay for TS5 by DerTyp7",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user