Worker invocations for Not Found with Vite Plugin
I'm building a full stack web app utilizing the Vite Plugin (building off this starter: https://github.com/cloudflare/templates/tree/main/vite-react-template), and for some reason my Worker is getting hit for GET /apple-touch-icon.png, GET /apple-touch-icon-precomposed.png, GET /favicon.ico. I guess browser is making these requests. I know I should probably add those files, but why am I getting Worker invocations for this?
I thought this wrangler.json config would take care of situations like these, but apparently it doesn't:
"assets": {
"not_found_handling": "single-page-application"
What should I do?
0 Replies