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

favicon as default twitter preview card #1425

Merged
merged 11 commits into from
Jan 31, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merging
  • Loading branch information
raphjaph committed Jan 30, 2023
commit 3fcc40858d8f4a284e71480cfb437697e9657fb4
1 change: 1 addition & 0 deletions src/subcommand/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ impl Server {
.layer(Extension(index))
.layer(Extension(options.chain()))
.layer(Extension(self.acme_domains()?.first().cloned()))
.layer(Extension(Arc::new(config)))
.layer(SetResponseHeaderLayer::if_not_present(
header::CONTENT_SECURITY_POLICY,
HeaderValue::from_static("default-src 'self'"),
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.