DOCTYPE -> !DOCTYPE
This commit is contained in:
parent
85b529ef00
commit
1a7d831a36
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Angel extends Routable {
|
|||
AngelErrorHandler _errorHandler = (AngelHttpException e, req, ResponseContext res) {
|
||||
res.header(HttpHeaders.CONTENT_TYPE, ContentType.HTML.toString());
|
||||
res.status(e.statusCode);
|
||||
res.write("<DOCTYPE html><html><head><title>${e.message}</title>");
|
||||
res.write("<!DOCTYPE html><html><head><title>${e.message}</title>");
|
||||
res.write("</head><body><h1>${e.message}</h1><ul>");
|
||||
for (String error in e.errors) {
|
||||
res.write("<li>$error</li>");
|
||||
|
|
Loading…
Reference in a new issue