Merge pull request #62 from angel-dart/master

Update from master
This commit is contained in:
Tobe Osakwe 2018-10-04 11:21:27 -04:00 committed by GitHub
commit 80209f9c91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

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

View file

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