From 08171307ee65dad5cef0c526d1ef03b74c33b9c4 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 26 Oct 2024 05:42:57 +0530 Subject: [PATCH] fix: decrypted proxy url --- server/src/routes/proxy.ts | 1 + 1 file changed, 1 insertion(+) 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({