Skip to content

Commit 28347d4

Browse files
committed
fix: update api scaffold files
1 parent d3c4858 commit 28347d4

File tree

2 files changed

+11
-99
lines changed

2 files changed

+11
-99
lines changed

src/themes/api/index.php

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/themes/api/routes/index.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@
2828
response()->json('An error occured, our team has been notified', 500, true);
2929
});
3030

31+
/*
32+
|--------------------------------------------------------------------------
33+
| Set middleware for all routes
34+
|--------------------------------------------------------------------------
35+
|
36+
| You can use app()->use() to load middleware for all
37+
| routes in your application.
38+
|
39+
*/
40+
// app()->use(ExampleMiddleware::class);
41+
3142
/*
3243
|--------------------------------------------------------------------------
3344
| Your application routes

0 commit comments

Comments
 (0)