I am trying to \'connect\' my small React JS app with my Deno API backend on my local environment with fetch().
React JS
Deno API
fetch()
con
For me, I had to first pass oakCors configuration to the app and then the routes.
app.use(oakCors({ origin: 'http://localhost:4200', optionsSuccessStatus: 200, })); app.use(router.routes());