hono | When going to /api/auth/test then nothing comes up but the frontend

I am very lost right now. I have the react frontend and hono backend in the new workers. When I do: auth.get('/test', (c) => { console.log('test text'); return c.text('test text 2'); }) and going to the url /api/auth/test then I am not getting neither the console log or the text but only the react frontend. When I fetch that URL in the index.ts file then it shows the text and console log. But not when going directly to that URL. What could be the issue..
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?