commit
80209f9c91
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
**Angel v1 users should stick to Dart 2.0.0-dev or lower. Dart 2 users will very soon be able to use version 2.0.0 of the entire Angel framework (try it now - `package:angel_framework@2.0.0-alpha`)!**
|
||||||
|
|
||||||
[![The Angel Framework](https://angel-dart.github.io/assets/images/logo.png)](https://angel-dart.github.io)
|
[![The Angel Framework](https://angel-dart.github.io/assets/images/logo.png)](https://angel-dart.github.io)
|
||||||
|
|
||||||
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/angel_dart/discussion)
|
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/angel_dart/discussion)
|
||||||
|
|
|
@ -57,7 +57,7 @@ AngelConfigurer configureServer(FileSystem fileSystem) {
|
||||||
else {
|
else {
|
||||||
if (e.statusCode == 404) {
|
if (e.statusCode == 404) {
|
||||||
return await res
|
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});
|
return await res.render('error', {'message': e.message});
|
||||||
|
|
Loading…
Reference in a new issue