update client GUI default cert path for easier testing

main
_ 2021-10-10 17:39:51 +00:00
parent 68eb6f911b
commit 07fa3b97c3
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ fn main () -> anyhow::Result <()> {
let connection_p2_p3 = rt.block_on (async move { let connection_p2_p3 = rt.block_on (async move {
let server_cert = match opt.cert_url.as_ref () { let server_cert = match opt.cert_url.as_ref () {
Some (url) => reqwest::get (url).await?.bytes ().await?, Some (url) => reqwest::get (url).await?.bytes ().await?,
None => tokio::fs::read ("quic_server.crt").await?.into (), None => tokio::fs::read ("ptth_quic_output/quic_server.crt").await?.into (),
}; };
let relay_addr = opt.relay_addr let relay_addr = opt.relay_addr