Skip to content

Commit be29bb5

Browse files
committed
Add website_config back without CSP
1 parent 134fc82 commit be29bb5

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ before_script:
1919
- mdbook -V || cargo install mdbook --vers '^0.3.0'
2020
script:
2121
- mdbook build
22+
- cp website_config.json book/
2223
branches:
2324
only:
24-
- master
25+
- master

website_config.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"headers": {
3+
"Strict-Transport-Security": "max-age=63072000",
4+
"X-Content-Type-Options": "nosniff",
5+
"X-Frame-Options": "DENY",
6+
"X-XSS-Protection": "1; mode=block",
7+
"Referrer-Policy": "no-referrer, strict-origin-when-cross-origin"
8+
},
9+
"github_pages_origin": "rust-lang.github.io/rust-forge"
10+
}

0 commit comments

Comments
 (0)