diff --git a/web/actions/user.ts b/web/actions/user.ts index 4fd651d..ea87f8b 100644 --- a/web/actions/user.ts +++ b/web/actions/user.ts @@ -29,7 +29,7 @@ export async function create(question: string, context: string, collectionName: revalidatePath("/chat"); return response.data.message; } catch(e) { - redirect('/upload'); + redirect('/limit-cross'); return e; } } diff --git a/web/public/arrow.png b/web/public/arrow.png deleted file mode 100644 index 3317c88..0000000 Binary files a/web/public/arrow.png and /dev/null differ diff --git a/web/src/app/components/DragDrop.tsx b/web/src/app/components/DragDrop.tsx index 6fcfb88..3ef5d99 100644 --- a/web/src/app/components/DragDrop.tsx +++ b/web/src/app/components/DragDrop.tsx @@ -50,7 +50,7 @@ export const DragDrop = () => { console.error("Upload failed", error); alert("File upload failed."); } finally { - setLoading(false); // Stop loading after the process is complete + // setLoading(false); // Stop loading after the process is complete } } } @@ -86,7 +86,7 @@ export const DragDrop = () => {
Drag & Drop to Upload File
OR