Reply with HTML content type

This commit is contained in:
Olivier 'reivilibre' 2023-10-28 21:57:22 +01:00
parent 8bb5e037bc
commit f902f2a45a

View File

@ -55,7 +55,7 @@ async fn auth_done(query: AuthDone, state: State) -> anyhow::Result<impl warp::R
let _client = monzo_client_from_code(&state, &query.code).await?;
Ok("Success! Please authorise in Monzo, then click <a href='/auth_confirmed'>here</a>.")
Ok(warp::reply::html("Success! Please authorise in Monzo, then click <a href='/auth_confirmed'>here</a>."))
}
async fn auth_done_wrapped(