Node express uploads files. Why is the path of the folder here wrong?

  node.js, question
var express = require('express');
 var router = express.Router();
 var formidable = require('formidable');
 
 router.post('/upload', function (req, res, next) {
 var form = new formidable.IncomingForm();
 form.uploadDir = '../public/uploads';
 form.encoding = 'utf-8';
 form.maxFieldsSize = 20 * 1024 * 1024;
 
 //Keep Suffix
 form.keepExtensions = true;
 form.parse(req, function (err, fields, files) {
 if (err) {
 return next(err);
 bracket
 res.end();
 })
 });
 
 module.exports = router;

Directory structure:
图片描述
Is this relative to app.js?

Evian said it should be relative to running his directory.