Serve static assets from root path, then handle /api/ requests with my worker?

I was hoping the "Static assets" feature could help me simplify my setup (currently Pages + Workers). I'm having trouble with
wrangler dev
currently. I want to serve static assets (stored in
public
directory on filesystem) for every request except for
/api/
requests, which my worker should handle.
Was this page helpful?