- override
Source
@override Future<Response> handle(Request request) async {
final response = developmentMode
? await _forward.handle(request)
: await _static.handle(request);
if (response.statusCode == 404) {
abortNotFound(await response.readAsString());
}
return response;
}