Wrangler 2.0.6 getAssetFromKV cannot find files in sub directories

Just updated to wrangler 2.0.6 and getAssetFromKV cannot find files in sub directories inside wranglers site bucket. “/test.txt” works but “/folder/test.txt” doesn’t.

Here is a simple git repository: GitHub - jessepmason/workers_sites_bucket_error_example

Steps to reproduce in repository:

  1. npm install
  2. npx wrangler dev
  3. navigate to “/test.txt” in browser - should work
  4. navigate to “/folder/test.txt” - doesn’t work

Am I missing something or is it a bug? Thanks

It turns out I can make it work by converting the backslashes in the __STATIC_CONTENT_MANIFEST to forward slashes. I updated the repository to show fix.