const express = require('express');
const path = require('path');
const router = express.Router();

router.get('/ruleset', (req, res) => {
    const filePath = path.join(__dirname, '../public/rulesets/4-pentest-ruleset.json');
    res.download(filePath, '4-pentest-ruleset.json');
});

module.exports = router;
