Front-end vue backend node picture upload and display problem

in the past, when using node+ejs, the image path was returned directly, but after the front and rear ends were separated, the front end could not access the back end image path, so I would like to ask whether the picture is displayed through the get interface


response.set( 'content-type', mimeType );//
var stream = fs.createReadStream( imageFilePath );
var responseData = [];//
if (stream) {//
    stream.on( 'data', function( chunk ) {
      responseData.push( chunk );
    });
    stream.on( 'end', function() {
       var finalData = Buffer.concat( responseData );
       response.write( finalData );
       response.end();
    });
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e92eec-1416.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e92eec-1416.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?