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'); });