nitro icon indicating copy to clipboard operation
nitro copied to clipboard

Ico file have 404 error with deploy to cloudflare workers

Open chenly opened this issue 3 years ago • 5 comments

https://nitro-deployment.vercel.app/favicon.ico OK

https://nitro-deployment.pi0.workers.dev/favicon.ico 404

chenly avatar Apr 30 '22 19:04 chenly

Closing as this now works

Hebilicious avatar Jun 30 '23 23:06 Hebilicious

Is there a workaround for this?

notmods avatar Oct 21 '23 15:10 notmods

Is there a workaround for this?

Not exactly a workaround, but iirc this bug doesn't affect the cloudflare_pages preset.

Hebilicious avatar Oct 23 '23 12:10 Hebilicious

Hello, is there a workaround for this now? Due to the file size limitation, I have to use Cloudflare Workers instead of Cloudflare Pages.

wcshds avatar Nov 26 '23 17:11 wcshds

Still, Favicon, when using Cloudflare_pages, works, but it doesn't work under Cloudflare workers. It looks like the filename is converted when uploaded to the workers' KV to something like favicon.e98315d4e5.ico. Did anyone figure out a fix for this?

cliqer avatar Jan 08 '24 07:01 cliqer