This is the js file code and in the same folder sample.csv is present but when I run the node console gives this error GET http://localhost:800/sample.csv 404 (Not Found)
get();
async function get(){
const response = await fetch('**sample.csv**', {
method: 'get',
headers: {
'content-type': 'text/csv;charset=UTF-8',
}
});
const data = await response.text();
const table = data.split('\n').slice(1);
}