Update routes.dart
This commit is contained in:
parent
1a7efdfa25
commit
7b12541842
1 changed files with 1 additions and 1 deletions
|
@ -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});
|
||||
|
|
Loading…
Reference in a new issue