Bug
In server/index.js, multer uploads destination uses a relative path 'uploads/' (line 26) while others use path.join(__dirname, 'uploads') (line 18) and express.static('uploads') (line 36). When the process starts from a different directory, uploaded files go to a different folder than what is served.
Impact
Uploaded files become inaccessible - 404 errors when trying to view them.
Fix
Consistently use path.join(__dirname, 'uploads') for all paths.
@Pushkarini579 Please assign me this issue under GSSOC 2026.
Bug
In
server/index.js, multer uploads destination uses a relative path'uploads/'(line 26) while others usepath.join(__dirname, 'uploads')(line 18) andexpress.static('uploads')(line 36). When the process starts from a different directory, uploaded files go to a different folder than what is served.Impact
Uploaded files become inaccessible - 404 errors when trying to view them.
Fix
Consistently use
path.join(__dirname, 'uploads')for all paths.@Pushkarini579 Please assign me this issue under GSSOC 2026.