Skip to content

How to exclude routes  #5

Open
Open
@lvidal1

Description

Hi, thanks for this awesome package.

Could I exclude some routes when the maintenance mode is enabled?

On the CheckForMaintenanceMode file, you can define an array with all the routes that can be reachable.

  /**
     * The URIs that should be reachable while maintenance mode is enabled.
     *
     * @var array
     */
    protected $except = [
        "nova/*",
        "nova-api/*",
        "nova-vendor/*",
    ];

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