Skip to content

Commit c05b19e

Browse files
committed
rename _rustinfra_config.json to website_config.json
1 parent 14ee1f5 commit c05b19e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ mod config {
3535
#[derive(Serialize)]
3636
pub struct Config {
3737
pub exclude: &'static [&'static str],
38-
pub include: &'static [&'static str],
3938
pub rustup: Vec<String>,
4039
pub channels: indexmap::IndexMap<&'static str, Channel>,
4140
}
@@ -56,7 +55,6 @@ const CHANNEL_URL_PREFIX: &str = "https://static.rust-lang.org/dist/channel-rust
5655
fn main() -> Result<(), Box<dyn Error>> {
5756
let mut cfg = config::Config {
5857
exclude: &["target", "vendor"],
59-
include: &["_rustinfra_config.json"],
6058
rustup: Vec::new(),
6159
channels: IndexMap::with_capacity(CHANNELS.len()),
6260
};

_rustinfra_config.json renamed to website_config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"X-XSS-Protection": "1; mode=block",
77
"Referrer-Policy": "no-referrer, strict-origin-when-cross-origin",
88
"Content-Security-Policy": "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' www.rust-lang.org; font-src 'self' data:"
9-
}
9+
},
10+
"github_pages_origin": "rust-lang.github.io/rust-forge"
1011
}

0 commit comments

Comments
 (0)