Skip to content

Commit 341f272

Browse files
committed
commit
1 parent ac2377a commit 341f272

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/api/repo/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export async function POST(request: NextRequest) {
4040

4141
const isLocal = repo_url.startsWith("file://")
4242

43-
const result = await fetch(`${url}/${isLocal ? "analyze_folder" : "process_repo"}`, {
43+
const result = await fetch(`${url}/${isLocal ? "analyze_folder" : "analyze_repo"}`, {
4444
method: 'POST',
4545
body: JSON.stringify({ repo_url, ignore: ["./.github", "./sbin", "./.git", "./deps", "./bin", "./build"] }),
4646
headers: {

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export default function Home() {
236236
</DialogDescription>
237237
{
238238
!isSubmit ?
239-
<form className='flex flex-col gap-4'>
239+
<form onSubmit={onCreateRepo} className='flex flex-col gap-4'>
240240
<input
241241
className='border p-3 rounded-lg'
242242
type="text"

0 commit comments

Comments
 (0)