diff --git a/config/instance.php b/config/instance.php index 82a8efafc..f19452348 100644 --- a/config/instance.php +++ b/config/instance.php @@ -29,5 +29,11 @@ return [ ] ], + 'page' => [ + '503' => [ + 'header' => env('PAGE_503_HEADER', 'Service Unavailable'), + 'body' => env('PAGE_503_BODY', 'Our service is in maintenance mode, please try again later.') + ] + ], ]; \ No newline at end of file diff --git a/resources/views/errors/503.blade.php b/resources/views/errors/503.blade.php index 5f2c20583..592962b0f 100644 --- a/resources/views/errors/503.blade.php +++ b/resources/views/errors/503.blade.php @@ -3,8 +3,8 @@ @section('content')
-

Service Unavailable

-

Our service is in maintenance mode, please try again later. Go back to Pixelfed.

+

{{config('instance.page.503.header')}}

+

{{config('instance.page.503.body')}}

@endsection