Skip to content

Commit

Permalink
Merge pull request #13 from ogghead/provide-nonce
Browse files Browse the repository at this point in the history
provide nonce
  • Loading branch information
benwis authored Dec 9, 2024
2 parents 10b51e1 + 9fc92e9 commit e5b4278
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,12 @@ fn provide_contexts(
context_parts: Parts,
res_opts: ResponseOptions,
) {
additional_context();
provide_context(RequestUrl::new(context_parts.uri.path()));
provide_context(context_parts);
provide_context(res_opts);
additional_context();
provide_server_redirect(redirect);
leptos::nonce::provide_nonce();
}

trait IntoRouteListing: Sized {
Expand Down

0 comments on commit e5b4278

Please sign in to comment.