Skip to content

Several loading errors on the non-HTTPS www.typescriptlang.org website #23

Closed

Description

@UweKeim

When navigating to the non-SSL version of www.typescriptlang.org, there are several errors shown in the Google Chrome console:

www.typescriptlang.org/:1 Access to Font at 'http://i.s-microsoft.com/fonts/segoe-ui/west-european/normal/latest.woff' from origin 'http://www.typescriptlang.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.typescriptlang.org' is therefore not allowed access.
www.typescriptlang.org/:1 Access to Font at 'http://i.s-microsoft.com/fonts/segoe-ui/west-european/semilight/latest.woff' from origin 'http://www.typescriptlang.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.typescriptlang.org' is therefore not allowed access.
www.typescriptlang.org/:1 Access to Font at 'http://i.s-microsoft.com/fonts/segoe-ui/west-european/semilight/latest.ttf' from origin 'http://www.typescriptlang.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.typescriptlang.org' is therefore not allowed access.
glyphicons-halflings…ular.bc0cf52d.woff2 Failed to load resource: the server responded with a status of 404 (Not Found)

Since there seems to be no automatich non-HTTP to HTTPS redirect, I have to manually prefix "https" in my browser's address bar.

My suggestion:

Please add an automatic redirect to HTTPS.

Activity

  1. TimonVS commented on Oct 30, 2018

    @TimonVS

    Hey just wanted to remind that this issue has been open since 2017, the website currently looks like this on macOS:

    image

    image

    An easy solution would be to use the system font stack for all platforms (as Segoe is the default font for Windows).

    Is there any way I can help out with this?

  2. orta commented on Jul 10, 2019

    @orta
    Contributor

    The site is now OSS (see the archived branch on this repo), so you're welcome to take a look - I can't reproduce this though:

    Screen Shot 2019-07-10 at 3 23 03 PM

  3. orta commented on Mar 20, 2021

    @orta
    Contributor

    I'm going to close, we self-host fonts now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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