mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
add mjpeg stream widget
This commit is contained in:
@@ -296,6 +296,7 @@ export function cleanServiceGroups(groups) {
|
||||
userEmail, // azuredevops
|
||||
repositoryId,
|
||||
metric, // glances
|
||||
stream, // mjpeg
|
||||
} = cleanedService.widget;
|
||||
|
||||
let fieldsList = fields;
|
||||
@@ -362,6 +363,9 @@ export function cleanServiceGroups(groups) {
|
||||
if (type === "glances") {
|
||||
if (metric) cleanedService.widget.metric = metric;
|
||||
}
|
||||
if (type === "mjpeg") {
|
||||
if (stream) cleanedService.widget.stream = stream;
|
||||
}
|
||||
}
|
||||
|
||||
return cleanedService;
|
||||
|
||||
Reference in New Issue
Block a user