1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 19:49:37 +02:00
flame/routes/config.js

16 lines
299 B
JavaScript
Raw Normal View History

2021-05-15 18:33:59 +02:00
const express = require('express');
const router = express.Router();
const {
getCSS,
updateCSS,
getConfig,
updateConfig,
2021-05-15 18:33:59 +02:00
} = require('../controllers/config');
router.route('/').get(getConfig).put(updateConfig);
2021-05-15 18:33:59 +02:00
router.route('/0/css').get(getCSS).put(updateCSS);
2021-10-06 14:15:05 +02:00
module.exports = router;