Skip to content

How to exclude routes  #5

@lvidal1

Description

@lvidal1

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

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