mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
js linting
This commit is contained in:
parent
cc0b4be50c
commit
ea06fbe666
1 changed files with 1 additions and 2 deletions
|
@ -17,8 +17,7 @@ export default async function credentialedProxyHandler(req, res) {
|
|||
|
||||
if (widget.type === "coinmarketcap") {
|
||||
headers["X-CMC_PRO_API_KEY"] = `${widget.key}`;
|
||||
}
|
||||
if(widget.type === "gotify"){
|
||||
} else if (widget.type === "gotify") {
|
||||
headers["X-gotify-Key"] = `${widget.key}`;
|
||||
} else {
|
||||
headers["X-API-Key"] = `${widget.key}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue