From 7b12541842b5abd50c693f4aeeae3a3bf08662ac Mon Sep 17 00:00:00 2001 From: Tobe Osakwe Date: Sun, 2 Sep 2018 11:18:18 -0400 Subject: [PATCH] Update routes.dart --- lib/src/routes/routes.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/routes/routes.dart b/lib/src/routes/routes.dart index a01e550..43206d9 100644 --- a/lib/src/routes/routes.dart +++ b/lib/src/routes/routes.dart @@ -57,7 +57,7 @@ AngelConfigurer configureServer(FileSystem fileSystem) { else { if (e.statusCode == 404) { return await res - .render('error', {'message': 'No file exists at ${req.path}.'}); + .render('error', {'message': 'No file exists at ${req.uri}.'}); } return await res.render('error', {'message': e.message});