chore: fix url path

This commit is contained in:
Joel 2023-05-14 17:11:14 +08:00
parent 57e7343038
commit fd6225b112
1 changed files with 2 additions and 2 deletions

View File

@ -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',