mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-05 21:47:48 +01:00
Enhancement: add optional token parameter for gamedig (#5245)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
@@ -304,6 +304,9 @@ export function cleanServiceGroups(groups) {
|
||||
// frigate
|
||||
enableRecentEvents,
|
||||
|
||||
// gamedig
|
||||
gameToken,
|
||||
|
||||
// beszel, glances, immich, komga, mealie, pihole, pfsense, speedtest
|
||||
version,
|
||||
|
||||
@@ -487,6 +490,9 @@ export function cleanServiceGroups(groups) {
|
||||
if (["diskstation", "qnap"].includes(type)) {
|
||||
if (volume) widget.volume = volume;
|
||||
}
|
||||
if (type === "gamedig") {
|
||||
if (gameToken) widget.gameToken = gameToken;
|
||||
}
|
||||
if (type === "kopia") {
|
||||
if (snapshotHost) widget.snapshotHost = snapshotHost;
|
||||
if (snapshotPath) widget.snapshotPath = snapshotPath;
|
||||
|
||||
Reference in New Issue
Block a user