Skip to content

Commit ae89ff9

Browse files
authored
Merge pull request #18 from jmp7911/dev
인덱스라우트 수정
2 parents 52d989f + 2610dab commit ae89ff9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mlb-server/routes/web.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
})->middleware('auth:sanctum');
1313

1414
Route::get('/', function () {
15-
return view('welcome');
15+
return response()->json(['message' => 'Hello, Laravel 11 API!']);
1616
});
1717

1818
Route::get('/dashboard', function () {

0 commit comments

Comments
 (0)