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