chore: fix url path

pull/2/head
Joel 3 years ago
parent 57e7343038
commit fd6225b112

@ -1,11 +1,11 @@
import axios from 'axios' import axios from 'axios'
const BASE_URL = 'https://api.dify.ai/v1/' const BASE_URL = 'https://api.dify.ai/v1'
const routes = { const routes = {
application: { application: {
method: 'GET', method: 'GET',
url: () => `parameters` url: () => `/parameters`
}, },
feedback: { feedback: {
method: 'POST', method: 'POST',

Loading…
Cancel
Save