Skip to content

How to exclude routes  #5

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/*",
    ];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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