Open communityus opened 3 years ago
var/www/public/offline.json
bin/lacuna.psgi
if ($config->get('offline')) { print "Server Down For Maintenance\n"; sub { [ 500, ['Content-Type' => 'application/json-rpc' ], [ '{"jsonrpc" : "2.0", "error" : { "code" : "-32000", "message" : "The server is offline for maintenance." }}' ], ]; } }
var/www/public/offline.json
->bin/lacuna.psgi