From bdb5029a31194dd9b49070acc6e691333fde2cf9 Mon Sep 17 00:00:00 2001 From: tank Date: Wed, 22 Mar 2023 00:09:33 +0800 Subject: [PATCH] fix 404 --- aggregator-proxy/src/AggregatorProxyCallback.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aggregator-proxy/src/AggregatorProxyCallback.ts b/aggregator-proxy/src/AggregatorProxyCallback.ts index f1c7a66db..9d44ee88f 100644 --- a/aggregator-proxy/src/AggregatorProxyCallback.ts +++ b/aggregator-proxy/src/AggregatorProxyCallback.ts @@ -25,7 +25,7 @@ async function verifyToken(accessToken: string) { console.log("verifyToken====="); const verifyTokenResult = await httpClient.sendTrans( metisUrl, - "/api/v1/verify_token", + "api/v1/verify_token", "token=" + accessToken, "get", "", @@ -39,7 +39,7 @@ async function getPrivateKey(sessionToken: string) { console.log("getPrivateKey====="); const getPrivateKeyResult = await httpClient.sendTrans( metisUrl, - "/api/v1/service/wallet/export_key_without_check", + "api/v1/service/wallet/export_key_without_check", null, "post", sessionToken,