feat: add /q route for cloned Moodle quiz page

This commit is contained in:
aedes
2026-04-22 02:22:52 +03:00
parent d3cdeed8d6
commit 56ea54f154

View File

@@ -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 = {