Getting Started
Adding @foadonis/maintenance registers its provider for you, so node ace maintenance:down takes the app offline and maintenance:up brings it back live.
Installation
Install and configure the package using the following command :
node ace add @foadonis/maintenancePut in maintenance mode
node ace maintenance:down
# or
node ace downCome back live
node ace maintenance:up
# or
node ace upIntroduction
AdonisJS Maintenance adds down and up Ace commands to take your app offline safely, with bypass secrets, custom Edge pages and distributed drivers
Commands
Flags for the maintenance:down command in AdonisJS: --secret to bypass, --template for a custom Edge page, --redirect, plus --retry and --refresh