mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Adds azure pipelines widget
Add translation for result and status remove buildId value translation Fixes syntax in azure pipelines hide running status if finished
This commit is contained in:
parent
2aeb3f4c89
commit
04cccfdd60
6 changed files with 60 additions and 0 deletions
|
@ -61,6 +61,9 @@ export default async function credentialedProxyHandler(req, res, map) {
|
|||
} else {
|
||||
headers.Authorization = `Basic ${Buffer.from(`${widget.username}:${widget.password}`).toString("base64")}`;
|
||||
}
|
||||
}
|
||||
else if (widget.type === "azurePipelines") {
|
||||
headers.Authorization = `Basic ${Buffer.from(`$:${widget.key}`).toString("base64")}`;
|
||||
} else {
|
||||
headers["X-API-Key"] = `${widget.key}`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue