You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
252 B
14 lines
252 B
2 years ago
|
var express = require('express');
|
||
|
var router = express.Router();
|
||
|
|
||
|
|
||
|
router.post('/createfont', async (req, res) => {
|
||
|
|
||
|
const fontCreaet = font.create(
|
||
|
{
|
||
|
name : req.body.fontName,
|
||
|
})
|
||
|
res.send(font.id);
|
||
|
});
|
||
|
module.exports = router;
|