Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit f5c5d09

Browse files
committed
[API] fix api endpoint prefix
1 parent 36630b4 commit f5c5d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
return Application::configure(basePath: dirname(__DIR__))
88
->withRouting(
9-
web: __DIR__.'/../routes/web.php',
109
api: __DIR__.'/../routes/api.php',
1110
commands: __DIR__.'/../routes/console.php',
1211
health: '/up',
12+
apiPrefix: '/'
1313
)
1414
->withMiddleware(function (Middleware $middleware) {
1515
//

0 commit comments

Comments
 (0)