Skip to content

Commit 113d897

Browse files
authored
Merge pull request #276 from XAMPPRocky/master
Add website_config back without CSP
2 parents bd57655 + be29bb5 commit 113d897

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
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

Lines changed: 10 additions & 0 deletions
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)