title: multer node js upload image
body: <p>when i send a new image the link apper like this:
  uploads\854645135.jpg
  i want to change this antislash&quot;&quot; to slash&quot;/&quot;
  cause i can't find this data in frontend</p>
  <pre><code>const uploadRouter = express.Router();
  
  const storage = multer.diskStorage({
    destination(req, file, cb) {
      cb(null, 'uploads/');
    },
    filename(req, file, cb) {
      cb(null, `${Date.now()}.jpg`);
    },
  });
  const upload = multer({ storage });
  uploadRouter.post('/',isAuth, upload.single('image'), (req, res) =&gt; {
    res.send(`/${req.file.path}`);
  });
  </code></pre>