Skip to content

Commit 2bd6356

Browse files
WilliamCollishawrami3l
authored andcommitted
fix(www): removes www subdomain from all rust-lang.org urls
1 parent f8dab60 commit 2bd6356

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

www/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<meta name="description" content="The Rust toolchain installer">
88
<link rel="stylesheet" href="normalize.css">
99
<link rel="stylesheet" href="rustup.css">
10-
<link rel="icon" type="image/png" sizes="32x32" href="https://www.rust-lang.org/static/images/favicon-32x32.png">
11-
<link rel="icon" type="image/svg+xml" href="https://www.rust-lang.org/static/images/favicon.svg">
12-
<link rel="mask-icon" href="https://www.rust-lang.org/static/images/safari-pinned-tab.svg" color="#000">
10+
<link rel="icon" type="image/png" sizes="32x32" href="https://rust-lang.org/static/images/favicon-32x32.png">
11+
<link rel="icon" type="image/svg+xml" href="https://rust-lang.org/static/images/favicon.svg">
12+
<link rel="mask-icon" href="https://rust-lang.org/static/images/safari-pinned-tab.svg" color="#000">
1313

1414
</head>
1515

@@ -19,7 +19,7 @@
1919
<header>
2020
<div>
2121
<h1>rustup</h1>
22-
<h2>An installer for the systems programming language <a href="https://www.rust-lang.org">Rust</a></h2>
22+
<h2>An installer for the systems programming language <a href="https://rust-lang.org">Rust</a></h2>
2323
</div>
2424
</header>
2525
<a id="platform-button" class="display-none" href="#">
@@ -222,11 +222,11 @@ <h2>An installer for the systems programming language <a href="https://www.rust-
222222

223223
<p id="help">
224224
Need help?<br>
225-
Ask the <a href="https://www.rust-lang.org/community">community</a>!
225+
Ask the <a href="https://rust-lang.org/community">community</a>!
226226
</p>
227227

228228
<p id="about">
229-
<img src="https://www.rust-lang.org/logos/rust-logo-blk.svg" alt="" />
229+
<img src="https://rust-lang.org/logos/rust-logo-blk.svg" alt="" />
230230
rustup is an official Rust project.
231231
<br/>
232232
<a href="https://rust-lang.github.io/rustup/installation/other.html">other installation options</a>

www/website_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"X-Frame-Options": "DENY",
66
"X-XSS-Protection": "1; mode=block",
77
"Referrer-Policy": "no-referrer, strict-origin-when-cross-origin",
8-
"Content-Security-Policy": "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self' https://www.rust-lang.org; font-src 'self'"
8+
"Content-Security-Policy": "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self' https://rust-lang.org; font-src 'self'"
99
}
1010
}

0 commit comments

Comments
 (0)