mirror of
https://github.com/tlsnotary/tlsn-js.git
synced 2026-01-09 15:07:59 -05:00
fix: fix url in prover.rs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tlsn-js",
|
||||
"version": "v0.1.0-alpha.5.0",
|
||||
"version": "v0.1.0-alpha.5.1",
|
||||
"description": "",
|
||||
"repository": "https://github.com/tlsnotary/tlsn-js",
|
||||
"main": "build/index.js",
|
||||
|
||||
@@ -134,7 +134,7 @@ pub async fn prover(
|
||||
|
||||
// url
|
||||
let url = format!(
|
||||
"{}://{}/session",
|
||||
"{}://{}/v0.1.0-alpha.5/session",
|
||||
if notary_ssl { "https" } else { "http" },
|
||||
notary_host
|
||||
);
|
||||
@@ -149,7 +149,7 @@ pub async fn prover(
|
||||
|
||||
info!("Notarization response: {:?}", notarization_response,);
|
||||
let notary_wss_url = format!(
|
||||
"{}://{}/notarize?sessionId={}",
|
||||
"{}://{}/v0.1.0-alpha.5/notarize?sessionId={}",
|
||||
if notary_ssl { "wss" } else { "ws" },
|
||||
notary_host,
|
||||
notarization_response.session_id
|
||||
|
||||
Reference in New Issue
Block a user