Skip to content

Cross-Origin Request on docs webfonts #13593

Closed
@KokaKiwi

Description

@KokaKiwi

When I browse the Rust API docs with Firefox Nightly, the fonts aren't loaded and I have these errors on the console;

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://rust-lang.org/fonts/Heuristica-Regular.woff. This can be fixed by moving the resource to the same domain or enabling CORS. Heuristica-Regular.woff
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://rust-lang.org/fonts/FiraSans-Regular.woff. This can be fixed by moving the resource to the same domain or enabling CORS. FiraSans-Regular.woff
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://rust-lang.org/fonts/Heuristica-Italic.woff. This can be fixed by moving the resource to the same domain or enabling CORS. Heuristica-Italic.woff
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://rust-lang.org/fonts/FiraSans-Medium.woff. This can be fixed by moving the resource to the same domain or enabling CORS. FiraSans-Medium.woff
downloadable font: download failed (font-family: "Heuristica" style:normal weight:normal stretch:normal src index:1): bad URI or cross-site access not allowed
source: http://rust-lang.org/fonts/Heuristica-Regular.woff main.css
downloadable font: download failed (font-family: "Fira Sans" style:normal weight:normal stretch:normal src index:1): bad URI or cross-site access not allowed
source: http://rust-lang.org/fonts/FiraSans-Regular.woff main.css
downloadable font: download failed (font-family: "Heuristica" style:italic weight:normal stretch:normal src index:1): bad URI or cross-site access not allowed
source: http://rust-lang.org/fonts/Heuristica-Italic.woff main.css
downloadable font: download failed (font-family: "Fira Sans" style:normal weight:500 stretch:normal src index:1): bad URI or cross-site access not allowed
source: http://rust-lang.org/fonts/FiraSans-Medium.woff

I'm using the latest Firefox Nightly (31.0a1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions