From ae7c1e449bfead297037916fde10721a969c138e Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Fri, 30 Jan 2026 05:34:23 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Refactor=20auth=20route=20setup?= =?UTF-8?q?=20for=20improved=20readability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/websites/pokedex.online/server/oauth-proxy.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/websites/pokedex.online/server/oauth-proxy.js b/code/websites/pokedex.online/server/oauth-proxy.js index f784c08..f3ee7d8 100644 --- a/code/websites/pokedex.online/server/oauth-proxy.js +++ b/code/websites/pokedex.online/server/oauth-proxy.js @@ -56,7 +56,13 @@ app.use(requestLogger); // Mount API routes (nginx strips /api/ prefix before forwarding) app.use('/gamemaster', gamemasterRouter); -app.use('/auth', createAuthRouter({ secret: config.secret, adminPassword: config.adminPassword })); +app.use( + '/auth', + createAuthRouter({ + secret: config.secret, + adminPassword: config.adminPassword + }) +); /** * Exchange authorization code for access token