Skip to content

Commit

Permalink
Merge pull request #54 from colinmackinlay/patch-2
Browse files Browse the repository at this point in the history
Update README.md for L11 Middleware config
  • Loading branch information
riasvdv authored Sep 20, 2024
2 parents c36b481 + 1e2b18c commit de26bd7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ class VerifyCsrfToken extends Middleware
}
```

In Laravel 11 this is done in `bootstrap/app.php`:
```
->withMiddleware(function (Middleware $middleware) {
$middleware->validateCsrfTokens(except: [
'support-bubble',
]);
})
```
#### Configure message destination

Finally, you need to decide where you want to send the support bubble's submission to.
Expand Down

0 comments on commit de26bd7

Please sign in to comment.