Skip to content

Commit

Permalink
Make recent rust happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia committed Oct 24, 2023
1 parent 7556a9f commit f7223a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/internet_identity/src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ pub fn content_security_policy_header() -> String {
font-src 'self';"
);
#[cfg(not(feature = "insecure_requests"))]
format!("{csp}upgrade-insecure-requests;frame-ancestors 'none';")
let csp = format!("{csp}upgrade-insecure-requests;frame-ancestors 'none';");
csp
}

fn asset_certificate_headers_v1(asset_name: &str) -> Vec<(String, String)> {
Expand Down

0 comments on commit f7223a6

Please sign in to comment.