You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the recent PR (#5453) it was stated that, in order to make _headers and _redirects work you need to add them to the /static directory.
However, these files do not work with _worker.js.
I confirmed this with a Cloudflare Pages employee, who said that it's up to the framework or other platform bundling the _worker.js to handle these, as they are normally injected during the Functions build step which is overriden with _worker.js.
Since this information is incorrect it should be removed.
Reproduction
N/A
Logs
N/A
System Info
N/A
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
In the recent PR (#5453) it was stated that, in order to make
_headers
and_redirects
work you need to add them to the/static
directory.However, these files do not work with
_worker.js
.I confirmed this with a Cloudflare Pages employee, who said that it's up to the framework or other platform bundling the
_worker.js
to handle these, as they are normally injected during the Functions build step which is overriden with_worker.js
.Since this information is incorrect it should be removed.
Reproduction
N/A
Logs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: