From 195cb84887a7e49e1ba0ce5d9bf4493364501402 Mon Sep 17 00:00:00 2001 From: Admin Date: Tue, 11 Aug 2026 06:20:03 +0000 Subject: [PATCH] Add core Laravel files and Docker config --- bootstrap/app.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 bootstrap/app.php diff --git a/bootstrap/app.php b/bootstrap/app.php new file mode 100644 index 0000000..531eeb5 --- /dev/null +++ b/bootstrap/app.php @@ -0,0 +1,20 @@ +withRouting( + web: __DIR__.'/../routes/web.php', + commands: __DIR__.'/../routes/console.php', + health: '/up', + ) + ->withMiddleware(function (Middleware $middleware) { + $middleware->validateCsrfTokens(except: [ + 'webhook' // Exclude webhook from CSRF + ]); + }) + ->withExceptions(function (Exceptions $exceptions) { + // + })->create(); \ No newline at end of file