From 56ea54f15402ff2b5d54a1942ae91b2602d675f8 Mon Sep 17 00:00:00 2001 From: aedes Date: Wed, 22 Apr 2026 02:22:52 +0300 Subject: [PATCH] feat: add /q route for cloned Moodle quiz page --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index 6f166ee..bed1528 100644 --- a/server.js +++ b/server.js @@ -13,6 +13,7 @@ if (proxyUrl) console.log(`✓ Anthropic proxy: ${proxyUrl}`); const app = express(); const PUBLIC_DIR = path.join(__dirname, 'public'); +app.get(['/q', '/q.html'], (_req, res) => res.sendFile(path.join(PUBLIC_DIR, 'q', 'index.html'))); app.use(express.static(PUBLIC_DIR)); const MODELS = {