Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
UweKeim opened this issue Dec 25, 2017 · 3 comments
Closed
Assignees

Comments

@UweKeim
Copy link

UweKeim commented Dec 25, 2017

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.

@TimonVS
Copy link

TimonVS commented Oct 30, 2018

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?

@orta orta transferred this issue from microsoft/TypeScript Jul 10, 2019
@orta
Copy link
Contributor

orta commented Jul 10, 2019

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

@orta
Copy link
Contributor

orta commented Mar 20, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants