change baseUrl

This commit is contained in:
solehudin5699
2022-02-27 22:33:23 +07:00
parent 7761501545
commit 08fa3eb26f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ app.post('/', uploadMiddleware, (req, res) => {
res.json({
success: true,
message: 'Success upload file',
urlImage: `http://localhost:5000/public/${req.file.filename}`,
urlImage: `https://img-resize-xxx.herokuapp.com//public/${req.file.filename}`,
});
});