Repo for the search and displace core module including the interface to select files and search and displace operations to run on them. https://searchanddisplace.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
505 B

3 years ago
3 years ago
  1. <?php
  2. namespace App\Http\Middleware;
  3. use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
  4. class VerifyCsrfToken extends Middleware
  5. {
  6. /**
  7. * Indicates whether the XSRF-TOKEN cookie should be set on the response.
  8. *
  9. * @var bool
  10. */
  11. protected $addHttpCookie = true;
  12. /**
  13. * The URIs that should be excluded from CSRF verification.
  14. *
  15. * @var array
  16. */
  17. protected $except = [
  18. '/webhooks',
  19. '/search-and-displace',
  20. ];
  21. }