From 2f0f0e840fa6e28acd835e5da60000d3574ad181 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 13:20:05 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Improve=20code=20formatting=20an?= =?UTF-8?q?d=20spacing=20for=20readability=20in=20OAuth=20proxy=20server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/websites/pokedex.online/server/oauth-proxy.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/code/websites/pokedex.online/server/oauth-proxy.js b/code/websites/pokedex.online/server/oauth-proxy.js index 3603a89..c88e3d0 100644 --- a/code/websites/pokedex.online/server/oauth-proxy.js +++ b/code/websites/pokedex.online/server/oauth-proxy.js @@ -162,12 +162,16 @@ const server = app.listen(config.port, () => { nodeEnv: config.nodeEnv, challongeConfigured: config.challonge.configured }); - + if (!config.challonge.configured) { - logger.warn('⚠️ Challonge OAuth not configured - OAuth endpoints disabled'); - logger.warn(' Set CHALLONGE_CLIENT_ID and CHALLONGE_CLIENT_SECRET to enable'); + logger.warn( + '⚠️ Challonge OAuth not configured - OAuth endpoints disabled' + ); + logger.warn( + ' Set CHALLONGE_CLIENT_ID and CHALLONGE_CLIENT_SECRET to enable' + ); } - + logger.info('✅ Ready to handle requests'); });