Closed frankcollins3 closed 1 year ago
referer: localhost:3000
first proposed approach: npx kill-port 5000
this line of code allowed me to hit different routes and to return data. before it would only allow this endpoint to persist: app.use('/getData', getDataRouter)
this code sends data back but not the async fetch
[5:56pm]
npm i node-fetch did not solve this problem.
[6:04pm]
common JS syntax it is [6:44pm]
referer: localhost:3000
first proposed approach: npx kill-port 5000
this line of code allowed me to hit different routes and to return data. before it would only allow this endpoint to persist: app.use('/getData', getDataRouter)