Skip to content

feat: Add option to disable default webhook route registration #105

@lucacastelnuovo

Description

@lucacastelnuovo

Yesterday I implemented resend/resend-laravel alongside a custom webhook handler. I opted not to use the built-in handler because I wanted to integrate with spatie/laravel-webhook-client.

However, the package still automatically registers the default webhook route. Since I am not using it, I consider this exposed route an unnecessary attack vector.

Would it be acceptable if I submitted a PR to make this automatic route registration configurable (default enabled of course)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions