mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 11:39:36 +02:00
15 lines
299 B
JavaScript
15 lines
299 B
JavaScript
const express = require('express');
|
|
const router = express.Router();
|
|
|
|
const {
|
|
getCSS,
|
|
updateCSS,
|
|
getConfig,
|
|
updateConfig,
|
|
} = require('../controllers/config');
|
|
|
|
router.route('/').get(getConfig).put(updateConfig);
|
|
|
|
router.route('/0/css').get(getCSS).put(updateCSS);
|
|
|
|
module.exports = router;
|