chore(docs): Fix examples link (#202)

* url is just examples, not tonic-examples

* Change root directory from tonic-examples to examples.  Matches current directory structure.
This commit is contained in:
Thomas May
2019-12-20 22:39:39 -05:00
committed by Lucio Franco
parent 5e6b1fe487
commit 59d008db7e
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let bearer_token = format!("Bearer {}", token);
let header_value = HeaderValue::from_str(&bearer_token)?;
let certs = tokio::fs::read("tonic-examples/data/gcp/roots.pem").await?;
let certs = tokio::fs::read("examples/data/gcp/roots.pem").await?;
let tls_config = ClientTlsConfig::new()
.ca_certificate(Certificate::from_pem(certs.as_slice()))