_redirect rules are ignored when using sveltekit

Hello,

I've set up the _redirects file for my domain to redirect some old URLs to new ones when i moved from php to sveltekit on cf a few months ago.

Initially I deployed it as static assets (using sveltekit's static adapter) however recently I wanted to start using some server-side logic so I changed to use the cloudflare pages adapter, which uses a
_worker.js


I've noticed that the _redirect rules do not apply anymore. Is there any way around this (set _redirects to have a higher priority than the worker)
Was this page helpful?