Update routes.dart

This commit is contained in:
Tobe Osakwe 2018-09-02 11:18:18 -04:00 committed by GitHub
parent 1a7efdfa25
commit 7b12541842
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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});