This commit is contained in:
unknown 2022-02-01 13:21:48 +05:30
parent 47a1f36658
commit 0a98287ca9
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ module.exports.getURLData = async (req, res) => {
}
module.exports.addURL = async (req, res) => {
req.body.minifiedUrl = base_url + req.body.alias
Minfy.create(req.body)
.then((data)=>{
res.send(data)