mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-03 05:53:40 +01:00
Fix proxy typo
This commit is contained in:
parent
d12b0d5a53
commit
96bd6eedc2
@ -21,7 +21,7 @@ export default async function handler(req, res) {
|
||||
|
||||
if (!widget) {
|
||||
logger.debug("Unknown proxy service type: %s", type);
|
||||
return res.status(403).json({ error: "Unkown proxy service type" });
|
||||
return res.status(403).json({ error: "Unknown proxy service type" });
|
||||
}
|
||||
|
||||
const serviceProxyHandler = widget.proxyHandler || genericProxyHandler;
|
||||
@ -107,7 +107,7 @@ export default async function handler(req, res) {
|
||||
}
|
||||
|
||||
logger.debug("Unknown proxy service type: %s", type);
|
||||
return res.status(403).json({ error: "Unkown proxy service type" });
|
||||
return res.status(403).json({ error: "Unknown proxy service type" });
|
||||
} catch (e) {
|
||||
if (e) logger.error(e);
|
||||
return res.status(500).send({ error: "Unexpected error" });
|
||||
|
Loading…
x
Reference in New Issue
Block a user