diff --git a/server/src/routes/proxy.ts b/server/src/routes/proxy.ts index 66f9c5e1..5217775b 100644 --- a/server/src/routes/proxy.ts +++ b/server/src/routes/proxy.ts @@ -107,6 +107,7 @@ router.get('/config', requireSignIn, async (req: AuthenticatedRequest, res: Resp return res.status(404).json({ message: 'User not found' }); } + const decryptedProxyUrl = user.proxy_url ? decrypt(user.proxy_url) : null; const auth = user.proxy_username && user.proxy_password ? true : false res.status(200).json({