feat: add /q route for cloned Moodle quiz page
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user