From fd6225b112b0c83ebf1181e1b15312f47482c4e3 Mon Sep 17 00:00:00 2001 From: Joel Date: Sun, 14 May 2023 17:11:14 +0800 Subject: [PATCH] chore: fix url path --- sdks/nodejs-client/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdks/nodejs-client/index.js b/sdks/nodejs-client/index.js index e948fff5bb..902ecbd880 100644 --- a/sdks/nodejs-client/index.js +++ b/sdks/nodejs-client/index.js @@ -1,11 +1,11 @@ import axios from 'axios' -const BASE_URL = 'https://api.dify.ai/v1/' +const BASE_URL = 'https://api.dify.ai/v1' const routes = { application: { method: 'GET', - url: () => `parameters` + url: () => `/parameters` }, feedback: { method: 'POST',