mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-21 09:11:29 +03:00
16 lines
299 B
JavaScript
16 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;
|