Skip to content

Frontend dist files not served correctly #2367

@knagaitsev

Description

@knagaitsev

I followed these instructions locally: https://github.com/rust-lang/rustc-perf/tree/master/site

However, I found that after going to the served HTML page, the site/frontend/dist files were all returning 404 errors

Modifying the following line to be #[folder = "frontend/dist/"] (with a trailing slash) fixed the issue for me:

#[folder = "frontend/dist"]

I'm not sure if the instructions for building/serving the webpage are outdated, but I just wanted to report this solution that worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions