Skip to content

🐛 BUG: Wrangler is loading the wrong content for certain files #1225

@lorenzo

Description

@lorenzo

What version of Wrangler are you using?

2.0.2

What operating system are you using?

Mac

Describe the Bug

I have a site built with sphinx. Deployed using this command

 wrangler pages publish --project-name docs build/html

All the assets under the _static folder are served by Cloudflare with the contents of index.html in the root of the build/html folder. This results in the site have no CSS styling.

If I upload the same folder using the web interface, things work as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    product:pagesRelating to Cloudflare Pages: https://pages.cloudflare.com/

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions