Skip to content

Commit ca687f9

Browse files
committed
Add a bootstrap/app.php pattern for middleware repository
Fixes N1ebieski#32
1 parent 55a209f commit ca687f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/repositories/middleware.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ export const getMiddleware = repository<MiddlewareItem>({
4040
return items;
4141
});
4242
},
43-
pattern: "app/Http/Kernel.php",
43+
pattern: [
44+
"app/Http/Kernel.php",
45+
"bootstrap/app.php"
46+
],
4447
itemsDefault: {},
4548
fileWatcherEvents: ["change"],
4649
});

0 commit comments

Comments
 (0)