Repository navigation
@cloudflare/workers-shared@0.20.4
Patch Changes
-
#17242
77a77a1Thanks @petebacondarwin! - Apply the headers of every_headersblock for a repeated Workers Static Assets pathWorkers Static Assets local development now merges repeated path blocks like production: repeated header names are combined in file order, and
!unsets are applied before all assignments for that path, even when the unset appears in a later block. Pages still uses only the last valid block for a repeated path, matching hosted Pages.For Workers Static Assets, when multiple distinct paths match a request, local development now applies those rules in sorted path-key order rather than file order, matching the production deploy pipeline. This also applies to the experimental
_headerssupport in Vite dev, so it agrees with Vite preview. Pages retains its existing ordering for distinct paths.