diff --git a/backend/app/api/api_v1/routers/kintone.py b/backend/app/api/api_v1/routers/kintone.py index 1203c0a..bdc40da 100644 --- a/backend/app/api/api_v1/routers/kintone.py +++ b/backend/app/api/api_v1/routers/kintone.py @@ -49,7 +49,7 @@ async def createapp(name:str): property=["label","code","type","required","defaultValue","options"] -@r.post("/createappfromexcel",) +@r.post("/createappfromexcel") async def createappfromexcel(files:t.List[UploadFile] = File(...)): for file in files: if file.filename.endswith('.xlsx'): diff --git a/frontend/.env b/frontend/.env index 00485e5..3e3182f 100644 --- a/frontend/.env +++ b/frontend/.env @@ -1,2 +1,2 @@ -KAB_BACKEND_URL="http://127.0.0.1:8000/api/v1/upload" +KAB_BACKEND_URL="http://127.0.0.1:8000/api/v1/" diff --git a/frontend/src/components/DocUpload.vue b/frontend/src/components/DocUpload.vue index 9fcc34e..cfede92 100644 --- a/frontend/src/components/DocUpload.vue +++ b/frontend/src/components/DocUpload.vue @@ -1,14 +1,14 @@