diff --git a/lib/src/http/server.dart b/lib/src/http/server.dart index 0662297d..b160f713 100644 --- a/lib/src/http/server.dart +++ b/lib/src/http/server.dart @@ -54,7 +54,7 @@ class Angel extends Routable { null); ResponseContext res = await ResponseContext.from( request.response, this); - on404(req, res); + on404(req, res..status(404)); _finalizeResponse(request, res); }); diff --git a/pubspec.yaml b/pubspec.yaml index a1385bbb..28fb342c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_framework -version: 0.0.0-dev.2 +version: 0.0.0-dev.3 description: Core libraries for the Angel framework. author: Tobe O homepage: https://github.com/angel-dart/angel_framework