From f563e272245a8586ebd1765ffcba1eee3760f858 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Wed, 28 Jan 2026 18:59:30 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=97=20Add=20gamemaster=20API=20route?= =?UTF-8?q?=20to=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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/websites/pokedex.online/server/oauth-proxy.js b/code/websites/pokedex.online/server/oauth-proxy.js index e70da26..df8b115 100644 --- a/code/websites/pokedex.online/server/oauth-proxy.js +++ b/code/websites/pokedex.online/server/oauth-proxy.js @@ -13,6 +13,7 @@ import 'dotenv/config'; import express from 'express'; import cors from 'cors'; import fetch from 'node-fetch'; +import gamemasterRouter from './gamemaster-api.js'; const app = express(); const PORT = process.env.OAUTH_PROXY_PORT || 3001; @@ -45,6 +46,7 @@ app.use( }) ); app.use(express.json()); +app.use('/api/gamemaster', gamemasterRouter); /** * Exchange authorization code for access token